> On Sat, May 04, 2002 at 12:17:32AM -0400, Faheem Mitha <email address hidden> was heard to say:
> > b) that if you put a package (say foo) on hold in the traditional way,
> > # echo "foo hold" | dpkg --set-selections
> > this is completely ignored by aptitude.
>
> Could you give me a reproducible test case? This has always worked
> for me.
That is strange. I get this behaviour with every package I tried. Ok, here
is an example of a run (with vim).
Chrestomanci:~# dpkg --get-selections | grep vim
vim hold
Chrestomanci:~# aptitude upgrade
Reading Package Lists... Done
Building Dependency Tree
Reading extended state information... Done
The following packages have been kept back:
apt-howto debian-policy links openafs-client
The following packages will be upgraded:
vim
1 packages upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Need to get 3751kB of archives. After unpacking 1417kB will be used.
Do you want to continue? [Y/n/e/d/v/action/?]
As you can see, I have vim listed as held, but aptitude upgrade is still
upgrading vim (btw, the flags for vim in aptitude are iu.) So, vim is not
marked as held by aptitude.
I can't imagine why you would get different behaviour.
aptitude version is 0.2.11.1, the precompiled binary. Pretty much all
other related packages are whatever is in woody (which I am tracking). The
only other thing I can think of is that the config file (which is old) is
causing something funny to happen, so I am including it below.
On Sat, 4 May 2002, Daniel Burrows wrote:
> On Sat, May 04, 2002 at 12:17:32AM -0400, Faheem Mitha <email address hidden> was heard to say:
> > b) that if you put a package (say foo) on hold in the traditional way,
> > # echo "foo hold" | dpkg --set-selections
> > this is completely ignored by aptitude.
>
> Could you give me a reproducible test case? This has always worked
> for me.
That is strange. I get this behaviour with every package I tried. Ok, here
is an example of a run (with vim).
Chrestomanci:~# dpkg --get-selections | grep vim d/v/action/ ?]
vim hold
Chrestomanci:~# aptitude upgrade
Reading Package Lists... Done
Building Dependency Tree
Reading extended state information... Done
The following packages have been kept back:
apt-howto debian-policy links openafs-client
The following packages will be upgraded:
vim
1 packages upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Need to get 3751kB of archives. After unpacking 1417kB will be used.
Do you want to continue? [Y/n/e/
As you can see, I have vim listed as held, but aptitude upgrade is still
upgrading vim (btw, the flags for vim in aptitude are iu.) So, vim is not
marked as held by aptitude.
I can't imagine why you would get different behaviour.
aptitude version is 0.2.11.1, the precompiled binary. Pretty much all
other related packages are whatever is in woody (which I am tracking). The
only other thing I can think of is that the config file (which is old) is
causing something funny to happen, so I am including it below.
(.aptitude/config)
aptitude ""; :UI::Package- Header- Format "%N %n #%B %u %o"; :UI::Package- Status- Format "%d"; :UI::Package- Display- Format "%c%a %p #%v%V"; :UI::Default- Grouping "filter( missing) ,task,status, section( subdir, passthrough) ,section( topdir) "; :UI::Advance- On-Action "false"; :UI::Descriptio n-Visible- By-Default "true"; :UI::Minibuf- Download- Bar "true"; :UI::Prompt- On-Exit "true"; :UI::Exit- On-Last- Close "true"; :UI::Incrementa l-Search "true"; :UI::Minibuf- Prompts "true"; :UI::Menubar- Autohide "false"; :UI::HelpBar "true"; :UI::New- Package- Commands "false"; :UI::Pause- After-Download "true"; :Pkg-Display- Limit ""; :Delete- Unused- Pattern ""; :Delete- Unused "true"; :Suggests- Important "true"; :Recommends- Important "true"; :Auto-Fix- Broken "true"; :Auto-Install "true"; aptitude" ; :Warn-Not- Root "true"; :Forget- New-On- Install "false"; :Forget- New-On- Update "false"; :Display- Planned- Action "true"; :Changelog- URL-Template "http:// cgi.debian. org/cgi- bin/get- changelog? package= %s"; :AutoClean- After-Update "false"; :Auto-Upgrade "true";
aptitude::UI "";
aptitude:
aptitude:
aptitude:
aptitude:
aptitude:
aptitude:
aptitude:
aptitude:
aptitude:
aptitude:
aptitude:
aptitude:
aptitude:
aptitude:
aptitude:
aptitude:
aptitude:
aptitude:
aptitude:
aptitude:
aptitude:
aptitude:
aptitude::Log "/var/log/
aptitude:
aptitude:
aptitude:
aptitude:
aptitude:
aptitude:
aptitude: