Quantcast
Channel: Update/Upgrade not working (because of phased updates) - Ask Ubuntu
Viewing all articles
Browse latest Browse all 4

Update/Upgrade not working (because of phased updates)

$
0
0

I've tried to sudo update and upgrade as usual but it displays

The following packages have been kept back:  base-files python3-distupgrade python3-gi python3-gi-cairo  ubuntu-release-upgrader-core ubuntu-release-upgrader-gtk0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.

I've tried:

  • the normal procedure (sudo apt update and upgrade)
  • the apt-get procedure
  • sudo -i and performed the normal procedure-https://www.youtube.com/watch?v=Il_Za-wlW5I (whats in this video)
  • changing software updater and software and updates settings

(also tried restarting my laptop)

Before I tried mounting an usb and a sd card. While I tried this I didn't have a net connection at the time. I tried updating and of course it didn't work. After noticing and reconnecting I did install some updates but then it got stuck on that display

Full display:sudo apt update

[sudo] password for dcg: Hit:1 http://archive.ubuntu.com/ubuntu jammy InReleaseHit:2 http://archive.ubuntu.com/ubuntu jammy-updates InReleaseHit:3 http://archive.ubuntu.com/ubuntu jammy-backports InReleaseHit:4 http://archive.ubuntu.com/ubuntu jammy-security InReleaseReading package lists... DoneBuilding dependency tree... DoneReading state information... Done6 packages can be upgraded. Run 'apt list --upgradable' to see them.W: Target Sources (restricted/source/Sources) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list:7W: Target Sources (restricted/source/Sources) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list:7dcg@dcg-IdeaPad-5-15ITL05:~$ sudo apt upgradeReading package lists... DoneBuilding dependency tree... DoneReading state information... DoneCalculating upgrade... DoneThe following packages have been kept back:  base-files python3-distupgrade python3-gi python3-gi-cairo  ubuntu-release-upgrader-core ubuntu-release-upgrader-gtk0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.

List of updates:

cg@dcg-IdeaPad-5-15ITL05:~$ apt list --upgradableListing... Donebase-files/jammy-updates 12ubuntu4.2 amd64 [upgradable from: 12ubuntu4.1]python3-distupgrade/jammy-updates,jammy-updates 1:22.04.12 all [upgradable from: 1:22.04.11]python3-gi-cairo/jammy-updates 3.42.1-0ubuntu1 amd64 [upgradable from: 3.42.0-3build1]python3-gi/jammy-updates 3.42.1-0ubuntu1 amd64 [upgradable from: 3.42.0-3build1]ubuntu-release-upgrader-core/jammy-updates,jammy-updates 1:22.04.12 all [upgradable from: 1:22.04.11]ubuntu-release-upgrader-gtk/jammy-updates,jammy-updates 1:22.04.12 all [upgradable from: 1:22.04.11]dcg@dcg-IdeaPad-5-15ITL05:~$ sudo apt updateHit:1 http://archive.ubuntu.com/ubuntu jammy InReleaseGet:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [114 kB]Get:3 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [99,8 kB]Get:4 http://archive.ubuntu.com/ubuntu jammy-security InRelease [110 kB]Get:5 http://archive.ubuntu.com/ubuntu jammy-updates/main i386 Packages [260 kB]Get:6 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [474 kB]Get:7 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [196 kB]Get:8 http://archive.ubuntu.com/ubuntu jammy-updates/universe i386 Packages [102 kB]Fetched 1356 kB in 4s (386 kB/s)                        Reading package lists... DoneBuilding dependency tree... DoneReading state information... Done6 packages can be upgraded. Run 'apt list --upgradable' to see them.W: Target Sources (restricted/source/Sources) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list:7W: Target Sources (restricted/source/Sources) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list:7dcg@dcg-IdeaPad-5-15ITL05:~$ sudo apt full-upgradeReading package lists... DoneBuilding dependency tree... DoneReading state information... DoneCalculating upgrade... DoneThe following packages have been kept back:  base-files python3-distupgrade ubuntu-release-upgrader-core  ubuntu-release-upgrader-gtkThe following packages will be upgraded:  python3-gi python3-gi-cairo2 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.Need to get 237 kB of archives.After this operation, 1024 B of additional disk space will be used.Do you want to continue? [Y/n] yGet:1 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3-gi-cairo amd64 3.42.1-0ubuntu1 [8184 B]Get:2 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3-gi amd64 3.42.1-0ubuntu1 [229 kB]Fetched 237 kB in 1s (410 kB/s)    (Reading database ... 215354 files and directories currently installed.)Preparing to unpack .../python3-gi-cairo_3.42.1-0ubuntu1_amd64.deb ...Unpacking python3-gi-cairo (3.42.1-0ubuntu1) over (3.42.0-3build1) ...Preparing to unpack .../python3-gi_3.42.1-0ubuntu1_amd64.deb ...Unpacking python3-gi (3.42.1-0ubuntu1) over (3.42.0-3build1) ...Setting up python3-gi (3.42.1-0ubuntu1) ...Setting up python3-gi-cairo (3.42.1-0ubuntu1) ...

(From here on out only 4 packages were not upgraded...I don't know how the other 2 upgraded)

Using sudo apt full-update:

dcg@dcg-IdeaPad-5-15ITL05:~$ sudo apt updateHit:1 http://archive.ubuntu.com/ubuntu jammy InReleaseGet:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [114 kB]Get:3 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [99,8 kB]Get:4 http://archive.ubuntu.com/ubuntu jammy-security InRelease [110 kB]Get:5 http://archive.ubuntu.com/ubuntu jammy-updates/main i386 Packages [260 kB]Get:6 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [474 kB]Get:7 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [196 kB]Get:8 http://archive.ubuntu.com/ubuntu jammy-updates/universe i386 Packages [102 kB]Fetched 1356 kB in 4s (386 kB/s)                        Reading package lists... DoneBuilding dependency tree... DoneReading state information... Done6 packages can be upgraded. Run 'apt list --upgradable' to see them.W: Target Sources (restricted/source/Sources) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list:7W: Target Sources (restricted/source/Sources) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list:7dcg@dcg-IdeaPad-5-15ITL05:~$ sudo apt full-upgradeReading package lists... DoneBuilding dependency tree... DoneReading state information... DoneCalculating upgrade... DoneThe following packages have been kept back:  base-files python3-distupgrade ubuntu-release-upgrader-core  ubuntu-release-upgrader-gtkThe following packages will be upgraded:  python3-gi python3-gi-cairo2 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.Need to get 237 kB of archives.After this operation, 1024 B of additional disk space will be used.Do you want to continue? [Y/n] yGet:1 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3-gi-cairo amd64 3.42.1-0ubuntu1 [8184 B]Get:2 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3-gi amd64 3.42.1-0ubuntu1 [229 kB]Fetched 237 kB in 1s (410 kB/s)    (Reading database ... 215354 files and directories currently installed.)Preparing to unpack .../python3-gi-cairo_3.42.1-0ubuntu1_amd64.deb ...Unpacking python3-gi-cairo (3.42.1-0ubuntu1) over (3.42.0-3build1) ...Preparing to unpack .../python3-gi_3.42.1-0ubuntu1_amd64.deb ...Unpacking python3-gi (3.42.1-0ubuntu1) over (3.42.0-3build1) ...Setting up python3-gi (3.42.1-0ubuntu1) ...Setting up python3-gi-cairo (3.42.1-0ubuntu1) ...

Viewing all articles
Browse latest Browse all 4

Latest Images

Trending Articles





Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>