Can Confirmation Be Bypassed In CLI While Installing Software Or Upgrading?

I don't know why I want this, but is there a way the Code:
sudo aptitude install <package>

or Code:
sudo aptitude upgrade

command could bypass the confirmation stage? It's always occurred to me shouldn't there be some command parameter for install/upgrade that does the work?

Let me give an example. Suppose I want to install Variety, the wallpaper changing application. Now, I know that I want to install the software with all the dependencies it requires to install/run - the entire package. So, isn't it obvious that I would press Y when aptitude shows the info what it's going to download/install and asks for permission?

I can't, however, imagine scenarios when seeing that information I'd change my mind and press N to abort the install/upgrade procedure.


Similar Content



How To Simplify Installation Of Kvm

Hi experts,

so the steps to install kvm is this:

Code:
sudo apt-get install qemu-kvm libvirt-bin bridge-utils virt-manager

according to this webpage: http://www.howtogeek.com/117635/how-...nes-on-ubuntu/

Can I make this simpler?

I want to do just one command: sudo apt-get install kvm, and it should call and install all these packages.

Thanks

"New Software Can't Be Installed" Ubuntu 14.04

Hi,

This problem seems to have some common solutions, none of which have worked for me so far.

I get this when opening software center in the past few hours:

"New software can't be installed, because there is a problem with the software currently installed. Do you want to repair this problem now?"

Clicking "repair" several times hasn't fixed it, nor have commands like:

Code:
sudo apt-get -f install

and

Code:
sudo apt-get upgrade

Though these have been mentioned elsewhere as solutions for a few people.

My OS otherwise seems to run pretty normally, as far as someone as green as me can tell.

Any fixes for this? I'd hate to format again, especially since my complicated Steam setup takes so long to complete. Thanks!

Problem Installing Radeon Driver Packages With Second Debian Install

I have a debian OS on a partition on my hard disk (sda1).
There was no sound because the ati rs880/radeon 4200 sound card needed drivers which were only in the debian 'non-free' version'.
So I added the non-free version to my install and also had to make a change to the GRUB bootloader file.
After that, I got sound.

Now I've installed a new debian distro to my second partition - sda2.
This time I ensured I installed the debian non-free version.
But I'm having trouble installing the drivers for the sound card.

I go into Synaptic package manager to install the relevant drivers and it gives me an error message:
Code:
Configuring libfglrx - install Fglrx driver despite unsupported graphics card?

I'm not sure what that means because I want the drivers for my sound card - not graphics.
When I press the 'Help' button, it says:
Code:
This system has a graphics card which is no longer handled by the Fglrx driver...
The above card requires either the non-free legacy Fgrlx driver 
(package fgrlx-legacy-driver) or the free Radeon driver (package xserver-xorg-video-radeon).

This is fine because I can just install the 'free Radeon driver'.

But the Help message then says:
Code:
Before the Radeon driver can be used you must remove Fglrx configuration from xorg.conf 
(and xorg.conf.d/)
Note that switching to the free Radeon driver requires the fglrx-driver package to be purged (not just removed).

So now I don't know what to do. Has anyone had this error message?
I know I can enable sound and have no problems with the graphics card because that's what happened with my original install on sda1.

But with the install on sda2, I don't know how to approach this problem.
Can anyone help please?

How To Install Perl Module On RHEL?

Hello,

I need to install perl-Expect, so, I executed:

Code:
#  yum install -y perl-Expect
Error: Package: perl-Expect-1.21-14.el7.noarch (epel)
           Requires: perl(IO::Pty) >= 1.03
Error: Package: perl-Expect-1.21-14.el7.noarch (epel)
           Requires: perl(IO::Tty)

Okay, I need to install perl(IO::Pty)

I launched
Code:
# yum install -y "perl(IO::Pty)"
No package perl(IO::Pty) available.
Error: Nothing to do

So, how to install all required perl modules to the RHEL?

Grub Directory Has Disappeared - Can't Reinstall Grub

I have tried installing a Ubuntu OS onto a partition (sda3).
When I had difficulties with the install, I decided to delete everything from the partition.

But now when I boot the computer, I get taken to the 'grub rescue' prompt.
I have tried to find grub in my other partitions (sda1 and sda2).
However, the command 'ls (hd0,msdos1)/' for example, does not show a grub directory.
It must've transferred grub to sda3 somehow and now I've deleted it.

I have debian live USB and am trying to install grub with:
Code:
apt-get install-grub /dev/sda

But I get the error message:
Code:
bash: grub-install: command not found

So now I don't know what's going on. Can anyone please help?

Having Issues Downloading And Installing Plex.

Don't suppose someone can tell me exactly what to write in order to download and install PMS on Arch? I'm about to throw my computer out of the window.

First I tried:

Code:
sudo pacman -S plex-media-server-plexpass

And it cannot find anyting. I've only managed to find Plex Home Theatre using this method.

Next I tried:

Code:
sudo pacman -U https://downloads.plex.tv/plex-media-server/0.9.11.17.986-269b82b/plexmediaserver-0.9.11.17.986-269b82b.x86_64.rpm

Which resulted in an error stating:

Code:
error: failed retrieving file 'plexmediaserver-0.9.11.17.986-269b82b.x86_64.rpm.sig' from downloads.plex.tv : the requested URL returned error: 404
warning: failed to download https://downloads.plex.tv/plex-media-server/0.9.11.17.986-269b82b/plexmediaserver-0.9.11.17.986-269b82b.x86_64.rpm.sig
loading packages...
error: '/var/cache/pacman/pkg/plexmediaserver-0.9.11.17.986-269b82b.x86_64.rpm' : package missing required signature.

I mean, what am I doing wrong? Can someone please tell me exactly what to type in to download and install PMS?

Cheers

How Can I Get My Simple Script Working

hi guys,

sick of typing sudo yum install package

so i wrote...or rather am trying to right a simple script to do this
with a simple command:

heres what i have:

#!/bin/bash
echo "Enter package name to install..."
read $P
sudo yum install $P

it doesnt seem to want to take the variable...it just runs
sudo yum install ...$p is ignored...i also tried "$p" but this
doesnt work either...what is the correct syntax to get a command to read a variable...is this possible...aaaaaaah it must be.

I Am Trying To Create A Fedora Live USB Using Ubuntu 14.04 But It's Not So Easy

Unetbootin does not do it and nor does startup disk creator. I the forums are described other ways but too complicated for me. I did find this, with simple instructions


https://ifireball.wordpress.com/2011...tor-on-ubuntu/


sudo aptitude install python-parted isomd5sum python-pyisomd5sum python-urlgrabber extlinux python-qt4 python-qt4-dbus tar


That command should install these packages but all I get is sudo: aptitude: command not found.

isomd5sum
python-parted
python-pyisomd5sum
python-urlgrabber
extlinux
python-qt4
python-qt4-dbus
tar



Does anybody know a simple way to make a Fedora live USB using ubuntu. I was planing to try their Fedora Workstation 22

Enable Cgi

I have the below URL

http://linoxide.com/ubuntu-how-to/awstats/

in this URL , it have the command "sudo a2enmod cgi" to check the cgi is installed or not , but when I run it , it pops "bash: a2enmod: command not found" , I tried to install it by yum install a2enmod" , but got the below message , would advise how to install it .
Code:
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.uhost.hk
 * epel: ftp.cuhk.edu.hk
 * extras: centos.uhost.hk
 * updates: centos.uhost.hk
No package a2enmod available.
Error: Nothing to do

CLI - FIND Command Installing Software Update

So I extract an update to a package that creates one of the folders below and then I run "$(find . -name install.sh)" to find and install the update. It seems to go just fine. How? If the other versions were also there? Which install.sh gets run?

# find -name install.sh
./Program_5.1.8341.5506_Install/install.sh
./Program_5.0.8132.5459_Install/install.sh
./Program_5.2.8724.5567_Install/install.sh
./Program_5.1.8473.5522_Install/install.sh