On Fri 03 May 2019 at 23:09:58 (+0200), Emanuel Berg wrote:
> tomas wrote:
>
> >> That's some heavy parsing, only I don't get
> >> it to work. I get "no such file or directory:
> >> " from the first, apt-cache-dump invocation.
> >
> > This is because it's spelt "apt-cache dump",
> > I guess ;-)
>
tomas wrote:
>> That's some heavy parsing, only I don't get
>> it to work. I get "no such file or directory:
>> " from the first, apt-cache-dump invocation.
>
> This is because it's spelt "apt-cache dump",
> I guess ;-)
No, then it says "zsh: command not found:" :)
--
underground experts united
On Fri 03 May 2019 at 03:46:50 (+0200), Emanuel Berg wrote:
> David Wright wrote:
>
> > $ apt-cache dump | grep -A 2 '^Package:' | grep -B 2 '^ File:' | sed -e
> > 'N;N;s/\n/ /g;s/ \+/ /g;N' | grep -v '^--' | sort >> "$Unique1"
> > $ dpkg-query -W -f '^Package: ${Package} \n' | grep --file=- "$Un
On Fri, May 03, 2019 at 03:46:50AM +0200, Emanuel Berg wrote:
> David Wright wrote:
>
> > $ dpkg-query -W -f '^Package: ${Package} \n' | grep --file=- "$Unique1" |
> > sort
> Also I don't understand where the argument
> goes? Where is ${Package} defined, even tho it
> didn't (for me) even get th
On Fri, May 03, 2019 at 03:30:13AM +0200, Emanuel Berg wrote:
> Optimally I'd like it like this:
>
> $ from-what-release w3m-el-snapshot
> testing
The problem here is the packaging system does not KNOW from which source
a package came, after it is installed.
The best you can do is try to
On Fri, May 03, 2019 at 03:46:50AM +0200, Emanuel Berg wrote:
> David Wright wrote:
>
> > $ apt-cache dump | grep -A 2 '^Package:' | grep -B 2 '^ File:' | sed -e
> > 'N;N;s/\n/ /g;s/ \+/ /g;N' | grep -v '^--' | sort >> "$Unique1"
> > $ dpkg-query -W -f '^Package: ${Package} \n' | grep --file=- "$
Toni Mas wrote:
> apt-show-versions script are useful as well.
> apt-show-versions is a package itself.
It sure is and it sure is exactly what I'm
looking for with no need to parse the output to
get it exactly to the point:
$ apt-show-versions w3m-el-snapshot
w3m-el-snapshot:all/testing 1.4.632+
One can also do it like this:
$ aptitude versions w3m-el-snapshot
Package w3m-el-snapshot:
p 1.4.569+0.20170110-1 stable 500
i 1.4.632+0.20181112-2 testing 800
--
underground experts united
http://user.it.uu.se/~embe8573
Francisco M Neto wrote:
>> But is there a way to find out/confirm from
>> which release is a certain pack?
>
> You're looking for apt-cache policy. [...]
>
> $ apt-cache policy gnome-core
> gnome-core:
> Installed: 1:3.30+1
> Candidate: 1:3.30+1
> Version table:
> *** 1:3.30+1 900
>
David Wright wrote:
> $ apt-cache dump | grep -A 2 '^Package:' | grep -B 2 '^ File:' | sed -e
> 'N;N;s/\n/ /g;s/ \+/ /g;N' | grep -v '^--' | sort >> "$Unique1"
> $ dpkg-query -W -f '^Package: ${Package} \n' | grep --file=- "$Unique1" | sort
That's some heavy parsing, only I don't get it
to work.
Alexander V. Makartsev wrote:
> You can check what branches have the package
> you want with "rmadison" command.
>
> Example:
> $ sudo apt install devscripts
> $ rmadison linux-image-amd64
> linux-image-amd64 | 3.16+63+deb8u2 | oldstable | amd64, i386
> linux-image-amd64 | 4.9+80+deb9u7
Jonas Smedegaard wrote:
> Add file
> /etc/apt/apt.conf.d/99aptitude-list-suite-local
> eith the following one-line content:
>
> aptitude::UI::Package-Display-Format "%c%a%M%S %p %Z %t %v %V";
>
> ...and install and use aptitude in fullscreen
> mode (i.e. start it with no non-option
> arguments).
apt-show-versions script are useful as well.
apt-show-versions is a package itself.
Toni Mas
Missatge de Francisco M Neto del dia dl., 29
d’abr. 2019 a les 23:10:
>
> Greetings!
>
>
> On Mon, 2019-04-29 at 05:30 +0200, Emanuel Berg wrote:
> > But is there a way to find out/confirm from
> > whic
Greetings!
On Mon, 2019-04-29 at 05:30 +0200, Emanuel Berg wrote:
> But is there a way to find out/confirm from
> which release is a certain pack?
You're looking for apt-cache policy.
Example:
==
$ apt-cache policy gnome-core
gnome-core:
Installed: 1
On Mon 29 Apr 2019 at 05:30:30 (+0200), Emanuel Berg wrote:
> With apt pinning [1], in /etc/apt/preferences ,
> I have learned that one can have certain packs
> from another release than the rest of the
> system, seemlessly (?) with apt-get and the
> other tools, for example like this for
> w3m-el-
On 29.04.2019 10:35, Jonas Smedegaard wrote:
> Quoting Emanuel Berg (2019-04-29 05:30:30)
>> With apt pinning [1], in /etc/apt/preferences ,
>> I have learned that one can have certain packs
>> from another release than the rest of the
>> system, seemlessly (?) with apt-get and the
>> other tools,
Quoting Emanuel Berg (2019-04-29 05:30:30)
> With apt pinning [1], in /etc/apt/preferences ,
> I have learned that one can have certain packs
> from another release than the rest of the
> system, seemlessly (?) with apt-get and the
> other tools, for example like this for
> w3m-el-snapshot:
>
>
17 matches
Mail list logo