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


Groups > linux.debian.user > #182050

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-11 09:20 +0200
Message-ID <tR5kd-26K-1@gated-at.bofh.it> (permalink)
References <tQGvv-2v0-3@gated-at.bofh.it> <tQJjI-4dB-7@gated-at.bofh.it> <tQLbP-5nn-3@gated-at.bofh.it> <tR5kd-26K-3@gated-at.bofh.it> <tR5kd-26K-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

With all the confusion on reply reply-all I has send her/him this

UTC Time: June 10, 2017 10:06 AM
From: fungilife@protonmail.com
To: solitone <solitone@mail.com>

UTC Time: June 10, 2017 9:55 AM
From: solitone@mail.com

On Saturday, 10 June 2017 05:45:22 CEST Fungi4All wrote:
> apt
>
> Hold a package:
> sudo apt-mark hold <package-name>
>
> Remove the hold:
> sudo apt-mark unhold <package-name>

That's ok. I can then:
$ sudo apt upgrade
to upgrade that package to the latest available version.

But my question was: once I've upgrated it, how can I *downgrade* it to its
previous version, in case I find out it doesn't work right? What's the best
practice to downgrade with apt?

Thanks

With a package like chrome/ium that runs at the upper level of the structure
(ie top floor 5th) you can take it away and then find the .deb or the source of a previously
working version and re-install it. Apt will not do this and the reason is:
If you were to do this at a lower level, like 2nd or 3rd, the structure above will collapse.
If you were to remove something like lxdm you will have no display manager to proceed.
You still have the entry level shell. All package managers are set to be moving forward
upstream as they call it.

In some cases you can substitute mid-level packages, as lightdm with lxdm. Neither can
coexist with the other. While your kernel is already built on one, apt will take one away
and replace its functions with the other. It will affect you next boot.

Below please find Lisi's answer on whether packages should be reverted or not.

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