Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #177907
| From | Jonathan Dowland <jmtd@debian.org> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: revert package instructions found do not work |
| Date | 2017-02-17 10:10 +0100 |
| Message-ID | <tbMIa-2kt-17@gated-at.bofh.it> (permalink) |
| References | <tbMyt-21X-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
On Fri, Feb 17, 2017 at 03:54:22AM -0500, Felix Miata wrote: > I forgot to hold the non-broken mc version 4.8.17 before upgrading, so want > to revert to the older packages in the cache: > # ll /var/cache/apt/archives/mc* > -rw-r--r-- 1 root root 510906 May 8 2016 mc_3%3a4.8.17-1_amd64.deb > -rw-r--r-- 1 root root 512534 Oct 16 19:06 mc_3%3a4.8.18-1_amd64.deb > -rw-r--r-- 1 root root 1265158 May 8 2016 mc-data_3%3a4.8.17-1_all.deb > -rw-r--r-- 1 root root 1267428 Oct 16 19:06 mc-data_3%3a4.8.18-1_all.deb > > Nothing I try found via searching the web, e.g. "debian revert package" > chttps://www.google.com/search?q=debian+revert+package+&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:unofficial > can seem to locate any version of mc except 4.8.18, whether apt-get, > aptitude, apt-cache, etc. What's the secret to finding the right version > string, and which command? If what you mean is, you want to install 4.8.17-1 from the .deb you have in your cache, it's simply dpkg -i /var/cache/apt/archives/mc_3%3a4.8.17-1_amd64.deb \ /var/cache/apt/archives/mc-data_3%3a4.8.17-1_all.deb dpkg works directly with packages; apt-get works with repositories. To install a .deb with apt-get you would need to onstruct a repository which is a bit overkill for this purpose. I think it might be possible to install .debs with aptitude or the apt(1) tool, but I am not sure. One disadvantage of using dpkg directly is it will not resolve package dependencies for you, but in your case I think you likely have them all installed already.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
revert package instructions found do not work Felix Miata <mrmazda@earthlink.net> - 2017-02-17 10:00 +0100 Re: revert package instructions found do not work solitone <solitone@mail.com> - 2017-02-17 10:10 +0100 Re: revert package instructions found do not work Jonathan Dowland <jmtd@debian.org> - 2017-02-17 10:10 +0100 Re: revert package instructions found do not work Felix Miata <mrmazda@earthlink.net> - 2017-02-17 10:10 +0100
csiph-web