Skip to content

Instantly share code, notes, and snippets.

@ivan
Last active October 16, 2016 18:14
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save ivan/548924ff2c78cfffae22e04fa3102fc1 to your computer and use it in GitHub Desktop.
# apt-get dist-upgrade -V
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be DOWNGRADED:
linux-generic (4.4.0.42.44 => 4.4.0.42.44)
linux-headers-generic (4.4.0.42.44 => 4.4.0.42.44)
linux-image-generic (4.4.0.42.44 => 4.4.0.42.44)
linux-libc-dev (4.4.0-42.62 => 4.4.0-42.62)
0 upgraded, 0 newly installed, 4 downgraded, 0 to remove and 0 not upgraded.
Need to get 0 B/842 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 file:/var/custom-packages ./ linux-image-generic 4.4.0.42.44 [2,322 B]
Get:2 file:/var/custom-packages ./ linux-headers-generic 4.4.0.42.44 [2,292 B]
Get:3 file:/var/custom-packages ./ linux-generic 4.4.0.42.44 [1,784 B]
Get:4 file:/var/custom-packages ./ linux-libc-dev 4.4.0-42.62 [836 kB]
(Reading database ... 285354 files and directories currently installed.)
Preparing to unpack .../linux-image-generic_4.4.0.42.44_amd64.deb ...
Unpacking linux-image-generic (4.4.0.42.44) over (4.4.0.42.44) ...
Preparing to unpack .../linux-headers-generic_4.4.0.42.44_amd64.deb ...
Unpacking linux-headers-generic (4.4.0.42.44) over (4.4.0.42.44) ...
Preparing to unpack .../linux-generic_4.4.0.42.44_amd64.deb ...
Unpacking linux-generic (4.4.0.42.44) over (4.4.0.42.44) ...
Preparing to unpack .../linux-libc-dev_4.4.0-42.62_amd64.deb ...
Unpacking linux-libc-dev:amd64 (4.4.0-42.62) over (4.4.0-42.62) ...
Setting up linux-image-generic (4.4.0.42.44) ...
Setting up linux-headers-generic (4.4.0.42.44) ...
Setting up linux-generic (4.4.0.42.44) ...
Setting up linux-libc-dev:amd64 (4.4.0-42.62) ...
# apt-get dist-upgrade -V
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be DOWNGRADED:
linux-generic (4.4.0.42.44 => 4.4.0.42.44)
linux-headers-generic (4.4.0.42.44 => 4.4.0.42.44)
linux-image-generic (4.4.0.42.44 => 4.4.0.42.44)
linux-libc-dev (4.4.0-42.62 => 4.4.0-42.62)
0 upgraded, 0 newly installed, 4 downgraded, 0 to remove and 0 not upgraded.
Need to get 0 B/842 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
/etc/apt/preferences.d/pin-custom-packages
Package: *
Pin: origin ""
Pin-Priority: 1001
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment