Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #182004

Re: Downgrading specific packages with apt

From Fungi4All <fungilife@protonmail.com>
Newsgroups linux.debian.user
Subject Re: Downgrading specific packages with apt
Date 2017-06-10 11:50 +0200
Message-ID <tQLbP-5nn-3@gated-at.bofh.it> (permalink)
References <tQGvv-2v0-3@gated-at.bofh.it> <tQIxj-3IT-3@gated-at.bofh.it> <tQJjI-4dB-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

UTC Time: June 10, 2017 7:42 AM
From: solitone@mail.com

On Friday, 9 June 2017 23:38:40 CEST Jimmy Johnson wrote:
> I've never downgrade using apt, but with synaptic it's not too hard,

Hi Jimmy, and thanks for your reply. I'm under Plasma Desktop, so I don't have
synaptic--I use KDE's Discover. Although I use it only for automatic updates.
For installing/removing packages, as well as setting a package on hold, I use
apt. I'd rather use apt for downgrading as well.

dpkg

Put a package on hold:

echo "<package-name> hold" | sudo dpkg --set-selections

Remove the hold:

echo "<package-name> install" | sudo dpkg --set-selections

Display the status of your packages:

dpkg --get-selections

Display the status of a single package:

dpkg --get-selections | grep "<package-name>"

apt

Hold a package:

sudo apt-mark hold <package-name>

Remove the hold:

sudo apt-mark unhold <package-name>

aptitude

Hold a package:

sudo aptitude hold <package-name>

Remove the hold:

sudo aptitude unhold <package-name>

thanks to askubuntu

Cheers!

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Downgrading specific packages with apt solitone <solitone@mail.com> - 2017-06-10 06:50 +0200
  Re: Downgrading specific packages with apt Jimmy Johnson <jimmyjhn@gmail.com> - 2017-06-10 09:00 +0200
    Re: Downgrading specific packages with apt solitone <solitone@mail.com> - 2017-06-10 09:50 +0200
      Re: Downgrading specific packages with apt Fungi4All <fungilife@protonmail.com> - 2017-06-10 11:50 +0200
        Re: Downgrading specific packages with apt solitone <solitone@mail.com> - 2017-06-10 12:10 +0200
          Re: Downgrading specific packages with apt Dejan Jocic <jodejka@gmail.com> - 2017-06-10 12:40 +0200
            Re: Downgrading specific packages with apt Hans <hans.ullrich@loop.de> - 2017-06-10 12:50 +0200
        Re: Downgrading specific packages with apt Lisi Reisz <lisi.reisz@gmail.com> - 2017-06-11 08:50 +0200
        Re: Downgrading specific packages with apt Fungi4All <fungilife@protonmail.com> - 2017-06-11 09:20 +0200
          Re: Downgrading specific packages with apt Lisi Reisz <lisi.reisz@gmail.com> - 2017-06-11 09:40 +0200
            Re: Downgrading specific packages with apt solitone <solitone@mail.com> - 2017-06-11 10:10 +0200
              Re: Downgrading specific packages with apt Dejan Jocic <jodejka@gmail.com> - 2017-06-11 10:50 +0200
                Re: Downgrading specific packages with apt solitone <solitone@mail.com> - 2017-06-11 11:20 +0200
                Re: Downgrading specific packages with apt Brian <ad44@cityscape.co.uk> - 2017-06-11 21:10 +0200
                Re: Downgrading specific packages with apt solitone <solitone@mail.com> - 2017-06-11 21:40 +0200
              Re: Downgrading specific packages with apt Eduardo M KALINOWSKI <eduardo@kalinowski.com.br> - 2017-06-11 13:30 +0200
            Re: Downgrading specific packages with apt Fungi4All <fungilife@protonmail.com> - 2017-06-11 10:50 +0200

csiph-web