General :: Apt-get Install Does Not Ask For Confirmation
Jan 30, 2011
In my latest Debian I noticed that apt-get install does not, as I expected, stop to ask for confirmation before starting the actual download/install process.it directly carries on with the operation, which is obviously very annoying when, as I usually do, you first want to see what packages are needed (and how heavy the download) and then you want to decide whether to proceed or not.The man pages, as I correctly remembered, talk about a -y option intended to bypass confirmation requests, which means that the default behaviour should be the opposite.I tried also on a Ubuntu 10.10 with the same result.
I just reinstalled Ubuntu, but before that I made a list of all the programs that needed to reinstall too. the thing is that it keeps asking me for confirmation before installing every app, and I want it not to... so I can get some sleep while it sets up everything.How do I do this? maybe using the "yes" command, but how?
I notice that one of the functions I can make a keyboard shortcut for in KDE is Log Out Without Confirmation. This might show a lack of imagination, but when might I want to do that?
I have a quick question involving crontab and a script I want to run with it. The script generates and sends an email to group members who are on-call for a given day, but when you run it this appears'Run This Script?' The script will run when you enter 'y' or 'yes' and then press enter.
I'm trying to give that input via another script which runs the first one and then waits for the prompt to input a 'y'.How can I make a script which waits for a prompt and then gives it input?
I installed openSUSE 11.2 successfully. I tried to install Emesene but YaST2 stops before i have the confirmation that Emesene is installed. I've the Emesene icon in the menu but it won't start, i just wait but nothing happened.
I have a DNS server at an old companies place and that box will be losing it's IP. The whois record for the domain goes to godaddy which has 2 'A' records; ns.domain.com ns2.domain.com which point to the current 2 DNS servers. Now if I have a new server up and running and the zones copied over, do I just need to change the 'A' location for ns.domain.com to this new IP? I remember back in the day you had to 'register' the nameserver with the registrar, etc.I haven't touched this stuff in a while, and before I go and change the IP of the nameserver, want to make sure all is in check.
When shutting down 10.04 you are forced to deal with a confirmation window. In previous releases it was possible to switch this off, e.g. right click shutdown button or using gconf-editor. I can't remove this feature bug in 10.04.
Since I upgraded to 10.04 Lucid the Shut Down applet puts up a window titled "Shut Down" that has two buttons "Cancel" and "Shut Down". In 9.04 this confirmation window didn't appear. How can I make "Shut Down" skip the confirmation and shut down directly? I've looked around for a preference item about that a couple of times but didn't find it.
I keep seeing stuff that says "right-click on the shutdown icon, select Properties" and so on.Well, I've just upgraded (should I say "upgraded"? It was a fresh reinstall really, not an Upgrade through the Update Manager) to 10.10, and right-clicking on the shutdown icon does not produce a "Properties" option.I get About, Remove From Panel, and Lock To Panel... none of which are helpful.So, it's been asked before and I'm gonna ask it again: How do I remove the annoying confirmation when I want to shut down Ubuntu?
I want to synchronize sets of files (e.g. from or to flash memory). rsync is powerful, but --delete option is dangerous. Anyone know whether there's a way to do --delete interactively, i.e. get rsync or some near equivalent to ask (y/n, in a console window) before deleting?
I'd like to get the 13.0 "synchronized to <time server>, stratum <stratum>" messages back on 13.1.
- On 13.0, running ntpd 4.2.4p8, reassuring messages appeared in /var/log/messages like "synchronized to 211.233.84.186, stratum 2". - On 13.1, running ntpd 4.2.6p1, there are no messages in /var/log/messages to confirm that time is being synchronised.
rc.ntpd on both starts ntpd with the same options. /etc/ntp.conf is identical on both, a "get it working and then make it secure" version: Code: cat /etc/ntp.conf | grep -E -v '^$|^#' cat /etc/ntp.conf | grep -E -v '^$|^#' server in.pool.ntp.org server asia.pool.ntp.org server 127.127.1.0 fudge 127.127.1.0 stratum 10 driftfile /etc/ntp/drift
According to Linux Home Networking, synchronization can be checked using ntpq -p. This shows synchronization is working. I would prefer to see that confirmation in /var/log/messages without having to run a command manually to check it. How to get the old messages back?
My Eee 900 running native Xandros has a 8G Sd card installed. Each time I boot I am asked to confirm what I want to use to read the card, File Manager, Music Manager of Photo Manager. Is there any way of skipping this step or making the use of File Manager a default?
In Ubuntu, When I type sudo and hit enter, the new command will appear on the command line, instead of simply executing. This is different from other operating systems I've used, such as older ubuntu's, mac osx and debian. Is there a way of disabling this confirmation and having it simply execute the command?
I use nautilus-action to create a right-click shred command with these parameters.: -f -u -v -z %M
I thought the -v would give me some feedback as well as an "are you sure" dialog before deleting. But when I run Shred it just deletes the file without any feedback and no confirmation beforehand.
How can I get a confirmation prompt to occur before shredding occurs (to prevent me from accidentaly shredding something--sometimes I click the wrong item cause the mouse shifts last second).
Any why don't any icons ever appear on my context menu even though I'm assigning icons?
I just remotely updated my uncle's Ubuntu 10.10 desktop to 11.04. My uncle has no computer skills, so it is very important that I troubleshoot his problems using VNC. After completing the 11.04 upgrade, I was not able to connect to him via VNC. After some fiddling around I was able to connect by turning off the confirmation option in the Security section. We are now using the password security option. The problem is that my uncle does not have any security against my peering eyes.
I tried reinstalling Vinagre, but that didn't help. Is it possible to get the confirmation option working again somehow?
With an Ubuntu 10.10 upgraded from 10.04, under Software Sources, Updates, there is a radio button marked "Install security updates without confirmation." I have this radio button marked, but still get "Important security updates" almost daily in my update manager. I don't remember this feature actually ever working.
I need to somehow do a yum installation (or equivalent of) on a system that is offline with no access to the internet. (I do have access to another Linux system that has internet access, but the Linux installations on both systems have different packages installed and enabled.)
Let's say the command to enter is 'yum install pkg1 pkg2 pkg3' (the documentation for some applications I need indicate the installation instructions this way, and not as the actual RPMs I need). Is there a way for me to run that on my offline system?
e.g. one way I can think of is to run that command on the online system, somehow if possible take note of what RPMs get installed, then transfer them to the offline system via USB and install all the RPMs via rpm command.
The problem with my above idea is that the two systems have different packages enabled, so even if yum on the online system shows a few dependencies being downloaded, I could run download and install all these RPMs and their dependencies on the offline system only to find several more missing dependencies, and dependencies of those dependencies.
I've got an ASUS eee1005 that I'm trying to load eeebuntu -- I've read good things about it! However, I managed to get it (partially) installed using only unetbootin and the eeebuntu-nbr iso. Luckily I've got other working laptops in the house, or I'd be stuck because now I've got a partially installed distro that isn't allowing me usage of my wireless. Basically, what I'd like to do is be able to go back to the install process and load all the packages I want, which, hopefully, will give me NetworkManager so that I can finally connect. I can boot to the thumbdrive (8gig, btw) but I don't think I've got the right files on it to do the install. Here's what appears on the thumbdrive:
[code]...
I would think that with these files on the thumbdrive, it could find its way into the install process. Apparently not. I've read most, if not all of the 'install from USB' threads and how-to's, and it's still not working right - Now, having a partially installed distro (with GUI that's not GNOME, or KDE. . ?) Are there any options I can use to pickup where the install left off and start adding packages? Or should I just scrap it and re-install?
I am trying to do a 'light' install of Ubuntu 10.04 using the alternate install CD. Here is how i am planning to do it:
1. Perform a console only installation(Standard system only on d-i tasksel) 2. Install gnome-core 3. Then install the packages i need using apt.
1. Would such an installation lead have any significant performance(RAM usage) advantage over a full fledged installation?
2. Is there a way i could install gnome-core from the installation CD instead of downloading them from the repository?
3. Would installing just gnome-core mean that synaptic & update-manager wouldn't be available? i am hoping that it wouldn't be the case I checked their dependencies from packages.ubuntu.com, it doesn't look like they need gnome-desktop-environment to be installed first.
4. Would such an install have any more device driver related issues (eg.display drivers) than a regular install?
I just installed win 7 and now can't install fedira 13 on the partition that i made for it on the same drive. The problem is that after installation of win 7 i lost the ability to boot form cd. In bios i still have cd set up to boot first and drive second, but win 7 did something that overrides bios set up. I even tried Esc for boot menu, then i select to boot form cd, but it still boots in windows. What can I do to fix this?
I have 40gb of hd and I want Xp and fedora on it. I installed Xp first and now I want to install Fedora 12, every time I chose the space to iinstalll it, it says that there is no enough space to install it, although the xp just took less than 2gb of the disk. How can I resize it so that there is enough space?
i'm trying to install gcc 4.3 on ubuntu 9.10 using the following: sudo apt-get install g++-4.3 CC=gcc-4.3 CXX=g++-4.3 ./install
the first line is ok, but i dont know what to do with the second. if i type both in one command, i get "E: couldn't run package CC" and if i run each separatly, i get "./install not found in the directory" objective: install ns 2.34 on ubuntu 9.10 (32-bit).
If I want to just install Linux kernel for educational objects on a fresh computer, should I first install one of Linux distribution and then update it's kernel or I can just install kernel itself?