------- Comment From y...@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@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@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@zml005:~# apt list --upgradable
Listing... Done

root@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@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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1753532

Title:
  apt-get update doesn't get new packages

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1753532/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to