Not able to install updates after a fresh install of Ubuntu, tried 18.04 and 18.10
ravi@manipalva1:~$ ubuntu-
Support status summary of 'manipalva1':
You have 1578 packages (100.0%) supported until July 2019 (Canonical - 9m)
You have 0 packages (0.0%) that can not/no-longer be downloaded
You have 0 packages (0.0%) that are unsupported
Run with --show-unsupported, --show-supported or --show-all to see more details
ravi@manipalva1:~$ cat /etc/dpkg/
cat: /etc/dpkg/
ravi@manipalva1:~$ dpkg --print-
i386
ravi@manipalva1:~$ sudo grep -R roxy /etc/apt/*
[sudo] password for ravi:
ravi@manipalva1:~$ grep roxy /etc/environment
ravi@manipalva1:~$ echo $http_proxy
ravi@manipalva1:~$ echo $ftp_proxy
ravi@manipalva1:~$ grep roxy /etc/bash.bashrc
ravi@manipalva1:~$ grep roxy ~/.bashrc
ravi@manipalva1:~$ cat /etc/apt/apt.conf
cat: /etc/apt/apt.conf: No such file or directory
ravi@manipalva1:~$ sudo fuser -vvv /var/lib/dpkg/lock
ravi@manipalva1:~$ sudo fuser -vvv /var/cache/
/var/cache/
ravi@manipalva1:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
ravi@manipalva1:~$ uname -a
Linux manipalva1 4.18.0-10-generic #11-Ubuntu SMP Thu Oct 11 15:13:55 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
ravi@manipalva1:~$ sudo rm /var/lib/
ravi@manipalva1:~$ sudo rm /var/cache/
ravi@manipalva1:~$ sudo rm /var/lib/dpkg/lock
ravi@manipalva1:~$ sudo cp -arf /var/lib/dpkg /var/lib/
ravi@manipalva1:~$ sudo mv /var/lib/
ravi@manipalva1:~$ sudo cp /var/lib/
ravi@manipalva1:~$ sudo mv /var/lib/
ravi@manipalva1:~$ sudo cp /var/lib/
cp: cannot stat '/var/lib/
ravi@manipalva1:~$ sudo rm -rf /var/lib/
ravi@manipalva1:~$ sudo rm -rf /var/lib/apt/lists
ravi@manipalva1:~$ sudo rm /var/cache/
ravi@manipalva1:~$ sudo mkdir /var/lib/apt/lists
ravi@manipalva1:~$ sudo mkdir /var/lib/
ravi@manipalva1:~$ LANG=C;sudo apt-get clean
ravi@manipalva1:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
ravi@manipalva1:~$ sudo dpkg --configure -a
ravi@manipalva1:~$ sudo dpkg --clear-avail
ravi@manipalva1:~$ LANG=C;sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
ravi@manipalva1:~$ LANG=C;sudo apt-get --fix-missing install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
ravi@manipalva1:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
ravi@manipalva1:~$ LANG=C;sudo apt-get --fix-missing update -o APT::Cache-
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Get:13 http://
Get:14 http://
Get:15 http://
Get:16 http://
Get:17 http://
Get:18 http://
Get:19 http://
Get:20 http://
Get:21 http://
Get:22 http://
Fetched 5096 kB in 32s (158 kB/s)
Reading package lists... Done
ravi@manipalva1:~$ LANG=C;sudo apt-get update -o APT::Cache-
Hit:1 http://
Hit:2 http://
Hit:3 http://
Hit:4 http://
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
libncursesw5 libtinfo5
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
linux-
linux-
The following packages will be upgraded:
apport apport-gtk apt apt-utils avahi-autoipd avahi-daemon avahi-utils bind9-host busybox-initramfs
busybox-static command-not-found command-
cups-core-drivers cups-daemon cups-ipp-utils cups-ppdc cups-server-common deja-dup
desktop-
firefox-locale-en fonts-opensymbol fwupd fwupd-signed gdm3 gedit gedit-common gettext gettext-base
ghostscript ghostscript-x gir1.2-gdm-1.0 gir1.2-gtk-3.0 gir1.2-
gir1.2-mutter-3 gir1.2-nm-1.0 gir1.2-
gir1.2-snapd-1 gir1.2-totem-1.0 gir1.2-
gnome-
gnome-
gnome-
gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm gpgv
grub-common grub-efi-amd64-bin grub-efi-
gstreamer1.
gvfs-fuse gvfs-libs initramfs-tools initramfs-tools-bin initramfs-
krb5-locales libapt-inst2.0 libapt-pkg5.0 libarchive13 libasound2 libasound2-data libavahi-client3
libavahi-
libboost-
libboost-
libcups2 libcupscgi1 libcupsimage2 libcupsmime1 libcupsppdc1 libcurl3-gnutls libcurl4
libdns-export1102 libdns1102 libdw1 libegl-mesa0 libegl1-mesa libelf1 libevdocument3-4 libevview3-3
libexiv2-14 libext2fs2 libfreerdp-
libgdm1 libgjs0g libgl1-mesa-dri libglapi-mesa libglx-mesa0 libgnomekbd-common libgnomekbd8
libgnutls30 libgs9 libgs9-common libgssapi-krb5-2 libgtk-3-0 libgtk-3-bin libgtk-3-common libidn11
libirs160 libisc-export169 libisc169 libisccc160 libisccfg160 libjavascriptco
libk5crypto3 libkmod2 libkpathsea6 libkrb5-3 libkrb5support0 libldap-2.4-2 libldap-common libldb1
liblua5.3-0 liblwres160 libmagic-mgc libmagic1 libmutter-3-0 libnautilus-
libnss-systemd libnss3 libntfs-3g88 libpackagekit-
libpam-runtime libpam-systemd libpam0g libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0
libpangoxft-1.0-0 libparted-
libpolkit-
libpulse0 libpulsedsp libpython3-stdlib libpython3.6 libpython3.
libreoffice-
libreoffice-core libreoffice-draw libreoffice-gnome libreoffice-gtk3 libreoffice-
libreoffice-
libreoffice-
libreoffice-
libss2 libssh-4 libssl1.0.0 libssl1.1 libsynctex2 libsystemd0 libtiff5 libtotem0 libu2f-udev
libudev1 libunistring2 libupower-glib3 libvncclient1 libwavpack1 libwayland-client0
libwayland-
libxatracker2 linux-firmware linux-generic linux-headers-
linux-
network-
packagekit-tools parted perl perl-base perl-modules-5.26 policykit-1 poppler-utils psmisc
pulseaudio pulseaudio-
python3-
python3-
python3-
software-
thunderbird-
totem-plugins tzdata ubuntu-
ufw unattended-upgrades uno-libs3 update-manager update-manager-core upower ure wget wpasupplicant
xdg-desktop-
xwayland
330 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 460 MB of archives.
After this operation, 343 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://
Get:1 http://
Get:1 http://
Get:1 http://
Get:1 http://
Get:1 http://
0% [1 libperl5.26 0 B/1060 B 0%]^C
ravi@manipalva1:~$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;
/etc/apt/
1 # deb cdrom:[Ubuntu 18.10 _Cosmic Cuttlefish_ - Release amd64 (20181017.3)]/ cosmic main restricted
2
3 # See http://
4 # newer versions of the distribution.
5 deb http://
6 # deb-src http://
7
8 ## Major bug fix updates produced after the final release of the
9 ## distribution.
10 deb http://
11 # deb-src http://
12
13 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
14 ## team. Also, please note that software in universe WILL NOT receive any
15 ## review or updates from the Ubuntu security team.
16 # deb-src http://
17 # deb-src http://
18
19 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
20 ## team, and may not be under a free licence. Please satisfy yourself as to
21 ## your rights to use the software. Also, please note that software in
22 ## multiverse WILL NOT receive any review or updates from the Ubuntu
23 ## security team.
24 # deb-src http://
25 # deb-src http://
26
27 ## N.B. software from this repository may not have been tested as
28 ## extensively as that contained in the main release, although it includes
29 ## newer versions of some applications which may provide useful features.
30 ## Also, please note that software in backports WILL NOT receive any review
31 ## or updates from the Ubuntu security team.
32 deb http://
33 # deb-src http://
34
35 ## Uncomment the following two lines to add software from Canonical's
36 ## 'partner' repository.
37 ## This software is not part of Ubuntu, but is offered by Canonical and the
38 ## respective vendors as a service to Ubuntu users.
39 # deb http://
40 # deb-src http://
41
42 deb http://
43 # deb-src http://
44 # deb-src http://
45 # deb-src http://
46
47 # This system was installed using small removable media
48 # (e.g. netinst, live or single CD). The matching "deb cdrom"
49 # entries were disabled at the end of the installation process.
50 # For information about how to configure apt package sources,
51 # see the sources.list(5) manual.
ravi@manipalva1:~$ sudo dpkg --audit
ravi@manipalva1:~$
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu apt Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Ravi for more information if necessary.