E: Index of /mozillateam/ppa/ubuntu lunar InRelease is not (yet) available (Could not connect to 192.168.49.1:8282 (192.168.49.1), connection timed out)
E: Index of /repos/edge/ stable InRelease is not (yet) available (Could not connect to 192.168.49.1:8282 (192.168.49.1), connection timed out)
E: Index of /ubuntu/23.04/prod/ lunar InRelease is not (yet) available (Unable to connect to 192.168.49.1:8282:)
E: Index of /repos/vscode/ stable InRelease is not (yet) available (Unable to connect to 192.168.49.1:8282:)
E: Index of /ubuntu lunar-security InRelease is not (yet) available (Could not connect to 192.168.49.1:8282 (192.168.49.1), connection timed out)
E: Index of /ubuntu lunar InRelease is not (yet) available (Could not connect to 192.168.49.1:8282 (192.168.49.1), connection timed out)
E: Index of /ubuntu lunar-updates InRelease is not (yet) available (Unable to connect to 192.168.49.1:8282:)
E: Index of linux/ubuntu/ lunar InRelease is not (yet) available (Could not connect to 192.168.49.1:8282 (192.168.49.1), connection timed out)
E: Index of /ubuntu lunar-backports InRelease is not (yet) available (Unable to connect to 192.168.49.1:8282:)
E: Index of /ubuntu lunar-security InRelease is not (yet) available (Could not connect to 192.168.49.1:8282 (192.168.49.1), connection timed out)
E: Index of linux/ubuntu/ lunar InRelease is not (yet) available (Could not connect to 192.168.49.1:8282 (192.168.49.1), connection timed out)
E: Index of /repos/edge/ stable InRelease is not (yet) available (Could not connect to 192.168.49.1:8282 (192.168.49.1), connection timed out)
E: Index of /ubuntu/23.04/prod/ lunar InRelease is not (yet) available (Unable to connect to 192.168.49.1:8282:)
E: Index of /repos/vscode/ stable InRelease is not (yet) available (Unable to connect to 192.168.49.1:8282:)
E: Index of /ubuntu lunar InRelease is not (yet) available (Could not connect to 192.168.49.1:8282 (192.168.49.1), connection timed out)
E: Index of /ubuntu lunar-updates InRelease is not (yet) available (Unable to connect to 192.168.49.1:8282:)
E: Index of /ubuntu lunar-backports InRelease is not (yet) available (Unable to connect to 192.168.49.1:8282:)
E: Index of /mozillateam/ppa/ubuntu lunar InRelease is not (yet) available (Could not connect to 192.168.49.1:8282 (192.168.49.1), connection timed out)
That ip address is the proxy I tried to setup:
I use an android app that shares the cell network with my laptop through a proxy IP.
I tried to setup it up for my laptop (I think I made a post about it here). And failed.
I was using the Plasma Settings GUI to add it here:
However, this problem doesn’t happen when I run apt update:
txtechnician@laptop-txtechnician:~$ cd /etc/apt
txtechnician@laptop-txtechnician:/etc/apt$ ls
apt.conf.d auth.conf.d keyrings preferences.d sources.list sources.list.d trusted.gpg.d
txtechnician@laptop-txtechnician:/etc/apt$ cd apt.conf.d
txtechnician@laptop-txtechnician:/etc/apt/apt.conf.d$ ls
00aptitude 10periodic 20auto-upgrades 50command-not-found 60icons-large
00trustcdrom 15update-stamp 20packagekit 50unattended-upgrades 60icons-large-hidpi
01autoremove 20apt-esm-hook.conf 20snapd.conf 60icons 70debconf
01-vendor-ubuntu 20archive 50appstream 60icons-hidpi 99update-notifier
txtechnician@laptop-txtechnician:/etc/apt/apt.conf.d$ sudo apt update
[sudo] password for txtechnician:
Hit:1 https://download.docker.com/linux/ubuntu lunar InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu lunar InRelease
Get:3 http://security.ubuntu.com/ubuntu lunar-security InRelease [109 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu lunar-updates InRelease [109 kB]
Hit:5 https://packages.microsoft.com/repos/edge stable InRelease
Get:6 https://packages.microsoft.com/ubuntu/23.04/prod lunar InRelease [3,611 B]
Get:7 https://packages.microsoft.com/repos/vscode stable InRelease [3,573 B]
Get:8 http://us.archive.ubuntu.com/ubuntu lunar-backports InRelease [99.8 kB]
Hit:9 https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu lunar InRelease
Get:10 http://security.ubuntu.com/ubuntu lunar-security/main i386 Packages [147 kB]
Get:11 http://security.ubuntu.com/ubuntu lunar-security/main amd64 Packages [298 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu lunar-updates/main amd64 Packages [384 kB]
Get:13 http://security.ubuntu.com/ubuntu lunar-security/main Translation-en [70.3 kB]
Get:14 http://security.ubuntu.com/ubuntu lunar-security/main amd64 DEP-11 Metadata [7,412 B]
Get:15 http://security.ubuntu.com/ubuntu lunar-security/restricted amd64 Packages [306 kB]
Get:16 http://security.ubuntu.com/ubuntu lunar-security/restricted Translation-en [49.9 kB]
Get:17 https://packages.microsoft.com/repos/vscode stable/main amd64 Packages [177 kB]
Get:18 http://security.ubuntu.com/ubuntu lunar-security/universe amd64 Packages [712 kB]
Get:19 http://us.archive.ubuntu.com/ubuntu lunar-updates/main i386 Packages [209 kB]
Get:20 http://us.archive.ubuntu.com/ubuntu lunar-updates/main amd64 DEP-11 Metadata [81.3 kB]
Get:21 http://us.archive.ubuntu.com/ubuntu lunar-updates/universe i386 Packages [660 kB]
Get:22 http://security.ubuntu.com/ubuntu lunar-security/universe i386 Packages [637 kB]
Get:23 http://security.ubuntu.com/ubuntu lunar-security/universe Translation-en [65.1 kB]
Get:24 http://security.ubuntu.com/ubuntu lunar-security/universe amd64 DEP-11 Metadata [6,584 B]
Get:25 http://us.archive.ubuntu.com/ubuntu lunar-updates/universe amd64 Packages [759 kB]
Get:26 http://us.archive.ubuntu.com/ubuntu lunar-updates/universe Translation-en [83.2 kB]
Get:27 http://us.archive.ubuntu.com/ubuntu lunar-updates/universe amd64 DEP-11 Metadata [52.8 kB]
Get:28 http://us.archive.ubuntu.com/ubuntu lunar-updates/universe amd64 c-n-f Metadata [12.8 kB]
Get:29 http://us.archive.ubuntu.com/ubuntu lunar-backports/universe amd64 DEP-11 Metadata [13.1 kB]
Fetched 5,057 kB in 2s (3,124 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
9 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/microsoft-edge-dev.list:1 and /etc/apt/sources.list.d/microsoft-edge.list:3
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/microsoft-edge-dev.list:1 and /etc/apt/sources.list.d/microsoft-edge.list:3
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/microsoft-edge-dev.list:1 and /etc/apt/sources.list.d/microsoft-edge.list:3
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/microsoft-edge-dev.list:1 and /etc/apt/sources.list.d/microsoft-edge.list:3
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/microsoft-edge-dev.list:1 and /etc/apt/sources.list.d/microsoft-edge.list:3
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/microsoft-edge-dev.list:1 and /etc/apt/sources.list.d/microsoft-edge.list:3
W: Target DEP-11-icons-small (main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list.d/microsoft-edge-dev.list:1 and /etc/apt/sources.list.d/microsoft-edge.list:3
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/microsoft-edge-dev.list:1 and /etc/apt/sources.list.d/microsoft-edge.list:3
W: Target DEP-11-icons-hidpi (main/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list.d/microsoft-edge-dev.list:1 and /etc/apt/sources.list.d/microsoft-edge.list:3
W: Target DEP-11-icons-large (main/dep11/icons-128x128.tar) is configured multiple times in /etc/apt/sources.list.d/microsoft-edge-dev.list:1 and /etc/apt/sources.list.d/microsoft-edge.list:3
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/microsoft-edge-dev.list:1 and /etc/apt/sources.list.d/microsoft-edge.list:3
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/microsoft-edge-dev.list:1 and /etc/apt/sources.list.d/microsoft-edge.list:3
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/microsoft-edge-dev.list:1 and /etc/apt/sources.list.d/microsoft-edge.list:3
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/microsoft-edge-dev.list:1 and /etc/apt/sources.list.d/microsoft-edge.list:3
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/microsoft-edge-dev.list:1 and /etc/apt/sources.list.d/microsoft-edge.list:3
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/microsoft-edge-dev.list:1 and /etc/apt/sources.list.d/microsoft-edge.list:3
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/microsoft-edge-dev.list:1 and /etc/apt/sources.list.d/microsoft-edge.list:3
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/microsoft-edge-dev.list:1 and /etc/apt/sources.list.d/microsoft-edge.list:3
W: Target DEP-11-icons-small (main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list.d/microsoft-edge-dev.list:1 and /etc/apt/sources.list.d/microsoft-edge.list:3
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/microsoft-edge-dev.list:1 and /etc/apt/sources.list.d/microsoft-edge.list:3
W: Target DEP-11-icons-hidpi (main/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list.d/microsoft-edge-dev.list:1 and /etc/apt/sources.list.d/microsoft-edge.list:3
W: Target DEP-11-icons-large (main/dep11/icons-128x128.tar) is configured multiple times in /etc/apt/sources.list.d/microsoft-edge-dev.list:1 and /etc/apt/sources.list.d/microsoft-edge.list:3
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/microsoft-edge-dev.list:1 and /etc/apt/sources.list.d/microsoft-edge.list:3
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/microsoft-edge-dev.list:1 and /etc/apt/sources.list.d/microsoft-edge.list:3
txtechnician@laptop-txtechnician:/etc/apt/apt.conf.d$
It only happens from Discover:
(I asked chatgpt to format the errors)
Certainly, here's the formatted version of the error messages:
---
### Connection Errors
#### Ubuntu Repositories
- **Lunar Security**:
- **URL**: `http://security.ubuntu.com/ubuntu lunar-security InRelease`
- **Error**: Could not connect to `192.168.49.1:8282`, connection timed out.
- **Lunar Main**:
- **URL**: `http://us.archive.ubuntu.com/ubuntu lunar InRelease`
- **Error**: Could not connect to `192.168.49.1:8282`, connection timed out.
- **Lunar Updates**:
- **URL**: `http://us.archive.ubuntu.com/ubuntu lunar-updates InRelease`
- **Error**: Unable to connect to `192.168.49.1:8282`.
- **Lunar Backports**:
- **URL**: `http://us.archive.ubuntu.com/ubuntu lunar-backports InRelease`
- **Error**: Unable to connect to `192.168.49.1:8282`.
#### Microsoft Repositories
- **Edge Stable**:
- **URL**: `https://packages.microsoft.com/repos/edge stable InRelease`
- **Error**: Could not connect to `192.168.49.1:8282`, connection timed out.
- **Ubuntu 23.04 Prod**:
- **URL**: `https://packages.microsoft.com/ubuntu/23.04/prod lunar InRelease`
- **Error**: Unable to connect to `192.168.49.1:8282`.
- **VSCode Stable**:
- **URL**: `https://packages.microsoft.com/repos/vscode stable InRelease`
- **Error**: Unable to connect to `192.168.49.1:8282`.
#### Other Repositories
- **Mozilla Team PPA**:
- **URL**: `https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu lunar InRelease`
- **Error**: Could not connect to `192.168.49.1:8282`, connection timed out.
- **Docker Ubuntu Lunar**:
- **URL**: `https://download.docker.com/linux/ubuntu lunar InRelease`
- **Error**: Could not connect to `192.168.49.1:8282`, connection timed out.
---
This should make it easier to diagnose the issues.
And, as far as I know, I have disabled the proxy. So the error should not persist. Does Discover have settings which control apt within itself? As in there are other settings for apt in Discover, or settings related to apt.
The warnings are from having multiple instances of the same sources present in multiple files, namely the two Edge repo files, as they each mention:
/etc/apt/sources.list.d/microsoft-edge-dev.list and /etc/apt/sources.list.d/microsoft-edge.list
You only need one of them, as they have identical repos listed, so you can install any version of Edge after installing the first instance. Chrome’s deb does the same thing.
This is unrelated to any proxy setup. Can’t recall if running apt full-upgrade still works with these warnings (they are not errors), but Discover may not be good at dealing with them.