Snap tutorial crashed my repositories
Charles IRONS
irons.charles at gmail.com
Wed Oct 3 10:04:53 UTC 2018
Hello Liam Proven & others
Thanks. I have just discovered ubuntu-users again and read your replies
to my issue.
I have used the last advice from Liam and saved the output because
there were some warnings. Please check those marked with ????????????
I am keen to upgrade to 18.04.1 but want to be sure 16.04 is fixed
first.
Thanks for helping an old retired end user.
--
Our preferred address is
irons.charles at gmail.com
Mobile +2783 588 0028
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20181003/e4a3a704/attachment.html>
-------------- next part --------------
I did the commands as advised
sudo apt clean
sudo apt update
sudo apt full-upgrade -y
Assuming it all works:
sudo apt clean
sudo apt purge
sudo apt autoremove
********************
The results showed some warnings that I have marked ???????????????????????????????
chas at Charles-PC:~$ sudo apt clean
[sudo] password for chas:
chas at Charles-PC:~$ sudo apt update
Hit:1 http://mirror.wiru.co.za/ubuntu xenial InRelease
Get:2 http://mirror.wiru.co.za/ubuntu xenial-updates InRelease [109 kB]
Get:3 http://mirror.wiru.co.za/ubuntu xenial-backports InRelease [107 kB]
Hit:4 http://archive.canonical.com/ubuntu xenial InRelease
Get:5 http://security.ubuntu.com/ubuntu xenial-security InRelease [107 kB]
Get:6 http://mirror.wiru.co.za/ubuntu xenial-security InRelease [107 kB]
Get:7 http://mirror.wiru.co.za/ubuntu xenial-updates/main Sources [321 kB]
Get:8 http://mirror.wiru.co.za/ubuntu xenial-updates/universe Sources [222 kB]
Get:9 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [387 kB]
Get:10 http://mirror.wiru.co.za/ubuntu xenial-updates/main amd64 Packages [856 kB]
Get:11 https://deb.opera.com/opera-stable stable InRelease [2,592 B]
Get:12 http://security.ubuntu.com/ubuntu xenial-security/universe i386 Packages [335 kB]
Get:13 https://deb.opera.com/opera-stable stable/non-free amd64 Packages [1,825 B]
Get:14 http://security.ubuntu.com/ubuntu xenial-security/universe Translation-en [147 kB]
Get:15 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 DEP-11 Metadata [108 kB]
Get:16 http://security.ubuntu.com/ubuntu xenial-security/universe DEP-11 64x64 Icons [145 kB]
Get:17 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [562 kB]
Get:18 http://security.ubuntu.com/ubuntu xenial-security/main i386 Packages [484 kB]
Get:19 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en [237 kB]
Get:20 http://mirror.wiru.co.za/ubuntu xenial-updates/main i386 Packages [767 kB]
Get:21 http://security.ubuntu.com/ubuntu xenial-security/main amd64 DEP-11 Metadata [67.7 kB]
Get:22 http://security.ubuntu.com/ubuntu xenial-security/main DEP-11 64x64 Icons [68.0 kB]
Get:23 http://mirror.wiru.co.za/ubuntu xenial-updates/main Translation-en [349 kB]
Get:24 http://mirror.wiru.co.za/ubuntu xenial-updates/main amd64 DEP-11 Metadata [320 kB]
Get:25 http://mirror.wiru.co.za/ubuntu xenial-updates/main DEP-11 64x64 Icons [227 kB]
Get:26 http://mirror.wiru.co.za/ubuntu xenial-updates/universe amd64 Packages [690 kB]
Get:27 http://mirror.wiru.co.za/ubuntu xenial-updates/universe i386 Packages [632 kB]
Get:28 http://mirror.wiru.co.za/ubuntu xenial-updates/universe Translation-en [279 kB]
Get:29 http://mirror.wiru.co.za/ubuntu xenial-updates/universe amd64 DEP-11 Metadata [247 kB]
Get:30 http://mirror.wiru.co.za/ubuntu xenial-updates/universe DEP-11 64x64 Icons [333 kB]
Get:31 http://mirror.wiru.co.za/ubuntu xenial-updates/multiverse amd64 DEP-11 Metadata [5,972 B]
Get:32 http://mirror.wiru.co.za/ubuntu xenial-updates/multiverse DEP-11 64x64 Icons [14.2 kB]
Get:33 http://mirror.wiru.co.za/ubuntu xenial-backports/main amd64 DEP-11 Metadata [3,328 B]
Get:34 http://mirror.wiru.co.za/ubuntu xenial-backports/universe amd64 DEP-11 Metadata [5,104 B]
Get:35 http://mirror.wiru.co.za/ubuntu xenial-security/main Sources [134 kB]
Get:36 http://mirror.wiru.co.za/ubuntu xenial-security/universe Sources [77.1 kB]
Get:37 http://mirror.wiru.co.za/ubuntu xenial-security/main amd64 Packages [562 kB]
Get:38 http://mirror.wiru.co.za/ubuntu xenial-security/main i386 Packages [484 kB]
Get:39 http://mirror.wiru.co.za/ubuntu xenial-security/main Translation-en [237 kB]
Get:40 http://mirror.wiru.co.za/ubuntu xenial-security/main amd64 DEP-11 Metadata [67.7 kB]
Get:41 http://mirror.wiru.co.za/ubuntu xenial-security/main DEP-11 64x64 Icons [68.0 kB]
Get:42 http://mirror.wiru.co.za/ubuntu xenial-security/universe amd64 Packages [387 kB]
Get:43 http://mirror.wiru.co.za/ubuntu xenial-security/universe i386 Packages [335 kB]
Get:44 http://mirror.wiru.co.za/ubuntu xenial-security/universe Translation-en [147 kB]
Get:45 http://mirror.wiru.co.za/ubuntu xenial-security/universe amd64 DEP-11 Metadata [108 kB]
Get:46 http://mirror.wiru.co.za/ubuntu xenial-security/universe DEP-11 64x64 Icons [145 kB]
Fetched 11.0 MB in 23s (477 kB/s)
AppStream cache update completed, but some metadata was ignored due to errors.
Reading package lists... Done
Building dependency tree
Reading state information... Done
12 packages can be upgraded. Run 'apt list --upgradable' to see them.
?????????????????????????????????????????????????????????
W: Target Packages (partner/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:49 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Packages (partner/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:49 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Packages (partner/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:49 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Translations (partner/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list:49 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Translations (partner/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:49 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Translations (partner/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:49 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target DEP-11 (partner/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:49 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target DEP-11-icons (partner/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:49 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Packages (partner/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:49 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Packages (partner/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:49 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Packages (partner/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:49 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Translations (partner/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list:49 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Translations (partner/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:49 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Translations (partner/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:49 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target DEP-11 (partner/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:49 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target DEP-11-icons (partner/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:49 and /etc/apt/sources.list.d/xenial-partner.list:4
?????????????????????????????????????????????????
chas at Charles-PC:~$ sudo apt full-upgrade -y
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:
linux-headers-4.4.0-134 linux-headers-4.4.0-134-generic linux-image-4.4.0-134-generic linux-image-extra-4.4.0-134-generic
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
python3-update-manager update-manager update-manager-core
3 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
Need to get 582 kB of archives.
After this operation, 2,048 B of additional disk space will be used.
Get:1 http://mirror.wiru.co.za/ubuntu xenial-updates/main amd64 python3-update-manager all 1:16.04.14 [33.1 kB]
Get:2 http://mirror.wiru.co.za/ubuntu xenial-updates/main amd64 update-manager-core all 1:16.04.14 [5,504 B]
Get:3 http://mirror.wiru.co.za/ubuntu xenial-updates/main amd64 update-manager all 1:16.04.14 [543 kB]
Fetched 582 kB in 1s (422 kB/s)
(Reading database ... 314211 files and directories currently installed.)
Preparing to unpack .../python3-update-manager_1%3a16.04.14_all.deb ...
Unpacking python3-update-manager (1:16.04.14) over (1:16.04.13) ...
Preparing to unpack .../update-manager-core_1%3a16.04.14_all.deb ...
Unpacking update-manager-core (1:16.04.14) over (1:16.04.13) ...
Preparing to unpack .../update-manager_1%3a16.04.14_all.deb ...
Unpacking update-manager (1:16.04.14) over (1:16.04.13) ...
Processing triggers for libglib2.0-0:amd64 (2.48.2-0ubuntu4.1) ...
Processing triggers for gconf2 (3.2.6-3ubuntu6) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5.2) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20180209-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up python3-update-manager (1:16.04.14) ...
Setting up update-manager-core (1:16.04.14) ...
Setting up update-manager (1:16.04.14) ...
chas at Charles-PC:~$
chas at Charles-PC:~$ sudo apt clean
chas at Charles-PC:~$ sudo apt purge
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
linux-headers-4.4.0-134 linux-headers-4.4.0-134-generic linux-image-4.4.0-134-generic linux-image-extra-4.4.0-134-generic
Use 'sudo apt autoremove' to remove them.
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
?????????????????????????????????????????????????????????????????????
W: Target Packages (partner/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:49 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Packages (partner/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:49 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Packages (partner/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:49 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Translations (partner/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list:49 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Translations (partner/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:49 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Translations (partner/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:49 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target DEP-11 (partner/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:49 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target DEP-11-icons (partner/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:49 and /etc/apt/sources.list.d/xenial-partner.list:4
??????????????????????????????????????????????????????????????????????????
chas at Charles-PC:~$ sudo apt autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED
linux-headers-4.4.0-134 linux-headers-4.4.0-134-generic linux-image-4.4.0-134-generic linux-image-extra-4.4.0-134-generic
0 to upgrade, 0 to newly install, 4 to remove and 0 not to upgrade.
After this operation, 303 MB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 314209 files and directories currently installed.)
Removing linux-headers-4.4.0-134-generic (4.4.0-134.160) ...
Removing linux-headers-4.4.0-134 (4.4.0-134.160) ...
Removing linux-image-extra-4.4.0-134-generic (4.4.0-134.160) ...
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-134-generic /boot/vmlinuz-4.4.0-134-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.0-134-generic /boot/vmlinuz-4.4.0-134-generic
update-initramfs: Generating /boot/initrd.img-4.4.0-134-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 4.4.0-134-generic /boot/vmlinuz-4.4.0-134-generic
run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 4.4.0-134-generic /boot/vmlinuz-4.4.0-134-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 4.4.0-134-generic /boot/vmlinuz-4.4.0-134-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.4.0-134-generic /boot/vmlinuz-4.4.0-134-generic
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.4.0-137-generic
Found initrd image: /boot/initrd.img-4.4.0-137-generic
Found linux image: /boot/vmlinuz-4.4.0-135-generic
Found initrd image: /boot/initrd.img-4.4.0-135-generic
Found linux image: /boot/vmlinuz-4.4.0-134-generic
Found initrd image: /boot/initrd.img-4.4.0-134-generic
Found linux image: /boot/vmlinuz-3.13.0-92-generic
Found initrd image: /boot/initrd.img-3.13.0-92-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
Found Windows 7 (loader) on /dev/sda1
done
Removing linux-image-4.4.0-134-generic (4.4.0-134.160) ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.4.0-134-generic /boot/vmlinuz-4.4.0-134-generic
update-initramfs: Deleting /boot/initrd.img-4.4.0-134-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 4.4.0-134-generic /boot/vmlinuz-4.4.0-134-generic
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.4.0-137-generic
Found initrd image: /boot/initrd.img-4.4.0-137-generic
Found linux image: /boot/vmlinuz-4.4.0-135-generic
Found initrd image: /boot/initrd.img-4.4.0-135-generic
Found linux image: /boot/vmlinuz-3.13.0-92-generic
Found initrd image: /boot/initrd.img-3.13.0-92-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
Found Windows 7 (loader) on /dev/sda1
done
chas at Charles-PC:~$
More information about the ubuntu-users
mailing list