You are not logged in.
This is probably a newbie question but this looks like the place to ask it. I couldn't find an answer in the manual or a wiki.
Is it possible to make pacman default to No?
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...
Targets (10): xf86-input-evdev-2.6.0-4 xf86-input-keyboard-1.6.0-3
xf86-input-mouse-1.7.1-2 xf86-input-vmmouse-12.7.0-3
xf86-video-fbdev-0.4.2-5 xf86-video-nv-2.1.18-4
xf86-video-vesa-2.3.0-6 xorg-server-common-1.11.0-1
xorg-server-1.11.0-1 xorg-server-xephyr-1.11.0-1
Total Download Size: 2.12 MB
Total Installed Size: 6.23 MB
Proceed with installation? [Y/n]Offline
Why would you want to do that? If you want to stop certain packages from upgrading, you can ignore them in pacman.conf.
Offline
I want to be able to do it selectively without having to edit pacman.conf, sometimes I hit the keys before I think about it.
I'm hoping that there might be an undocumented entry for pacman.conf.
Offline
I want to be able to do it selectively without having to edit pacman.conf, sometimes I hit the keys before I think about it.
Arch cannot protect you from yourself ![]()
Offline
It's not like I can't find a myriad of other ways to break it. ![]()
Offline
You can run
echo n | sudo pacman -Syuwhich will "respond" 'No' to
looking for inter-conflicts...
Targets (4): run-parts-4.0.2-1 [0,02 MB] ca-certificates-20110502-1 [0,13 MB]
imagemagick-6.7.2.1-1 [1,80 MB] lzo2-2.06-1 [0,10 MB]
Total Download Size: 2,05 MB
Total Installed Size: 10,84 MB
Proceed with installation? [Y/n]and return to the prompt, so you can have a good look at what you're about to do. If you're sure about it, run 'pacman -Su'.
Offline
You can run
echo n | sudo pacman -Syu
isnt that giving the n char to sudo instead of pacman?
Offline
karol wrote:You can run
echo n | sudo pacman -Syuisnt that giving the n char to sudo instead of pacman?
It seems to work here, are you saying it doesn't work for you?
Offline
It seems to work here from the comamnd line. Now I'm just trying to figure out how to incorporate it into a bash alias.
Thanks karol, that's pretty close to how I hoped it could be made to work.
Offline
alias foo="echo n | sudo pacman -Syu"works here.
Offline
Nice. ![]()
Thanks.
Offline