[Bug 1753532] Comment bridged from LTC Bugzilla
bugproxy
bugproxy at us.ibm.com
Tue Mar 6 17:00:02 UTC 2018
------- Comment From yeqi at cn.ibm.com 2018-03-06 11:51 EDT-------
(In reply to comment #28)
> How do your apt config folders look like?
>
> $ ls -la /etc/apt/apt.conf.d/
> 00aptitude 01autoremove-kernels 15update-stamp
> 70debconf
> 00trustcdrom 01-vendor-ubuntu 20archive
> 99update-notifier
> 01autoremove 10periodic 50unattended-upgrades
>
> $ ls -la /etc/apt/preferences.d/
> total 8
> drwxr-xr-x 2 root root 4096 Apr 14 2016 .
> drwxr-xr-x 6 root root 4096 Mar 6 03:45 ..
>
> Do you have special (maybe unwanted) files (for example for pinning) in
> place?
>
> Do you notice a difference if using apt instead of apt-get?
> sudo apt update
> apt list --upgradable
> and then maybe:
> sudo apt upgrade
> or:
> sudo apt full-upgrade
>
> Btw. In your sources.list you have lot's of deb-src lines active - in case
> you don't do development based on the package sources you should consider to
> disable them (comment out).
Below are the configurations on one of the servers..
root at zml005:~# ls -la /etc/apt/apt.conf.d/
total 44
drwxr-xr-x 2 root root 4096 Feb 22 08:22 .
drwxr-xr-x 6 root root 4096 Feb 3 2016 ..
-rw-r--r-- 1 root root 49 Feb 3 2016 00aptitude
-rw-r--r-- 1 root root 40 Feb 3 2016 00trustcdrom
-rw-r--r-- 1 root root 769 Dec 30 2015 01autoremove
-r--r--r-- 1 root root 3291 Feb 22 08:22 01autoremove-kernels
-rw-r--r-- 1 root root 42 Mar 8 2017 01-vendor-ubuntu
-rw-r--r-- 1 root root 80 Jul 26 2017 20auto-upgrades
-rw-r--r-- 1 root root 2656 Jul 12 2017 50unattended-upgrades
-rw-r--r-- 1 root root 182 Nov 10 2015 70debconf
-rw-r--r-- 1 root root 80 Jul 12 2017 90cloud-init-pipelining
root at zml005:~# ls -la /etc/apt/preferences.d/
total 8
drwxr-xr-x 2 root root 4096 Dec 30 2015 .
drwxr-xr-x 6 root root 4096 Feb 3 2016 ..
There is nothing difference with apt-get and apt commands.
root at zml005:~# apt list --upgradable
Listing... Done
root at zml005:~# apt full-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root at zml005:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1753532
Title:
apt-get update doesn't get new packages
Status in apt package in Ubuntu:
Incomplete
Bug description:
apt-get update and upgrade do not upgrade the system
--Steps to Reproduce---
apt-get update and apt-get upgrade. It shows nothing to upgrade. But the kernel level is in an old version.
New kernel packages are not shown in apt-cache. Somehow, the new packages are not being got from repo server when do apt-get update.
Executed on 16.04.3
Btw, not all the Ubuntu servers have that issues. I crossed check the
sources.list among the servers, there is no difference. So don't know
what caused some of them cannot get any update from ubuntu repo.
However, I can install individual packages via apt-get install
command.
There is not any error during the apt-get update && apt-get upgrade.
It showed nothing to upgrade.
Hit:1 http://ports.ubuntu.com/ubuntu-ports xenial InRelease
Hit:2 http://ports.ubuntu.com/ubuntu-ports xenial-updates InRelease
Hit:3 http://ports.ubuntu.com/ubuntu-ports xenial-backports InRelease
Hit:4 http://ports.ubuntu.com/ubuntu-ports xenial-security InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
The servers were able to manually upgrade for a long time. But all the
sudden, they are not upgradable. It looks it can not retrieve new
kernel level packages during the apt-get update. The highest kernel
level can be installed is 4.4.0-97.. not more higher..
HWS: I mirrored this problem description, to be able to get support
for getting this fixed. Even it seems to be an environment problem.
But direct Q&A will probably help....
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1753532/+subscriptions
More information about the foundations-bugs
mailing list