LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 07-14-2008, 11:01 AM   #1
c0smit0^
LQ Newbie
 
Registered: Aug 2006
Posts: 7

Rep: Reputation: 0
cant install any software


hello im new to ubuntu and i am trying to install opera but it gives me this error "Only one software management tool is allowed to run at the same time" but there is nothing else open, i try to restart the computer and it gives me the same error, new to linux so dont know what the problem is, thanx for the help
 
Old 07-14-2008, 11:18 AM   #2
Sjonnie48
Member
 
Registered: Jun 2005
Location: Earth
Distribution: Ubuntu10.04
Posts: 308

Rep: Reputation: 43
Hi, it would be very useful if you specify with which program you use for installing Opera.
 
Old 07-14-2008, 11:26 AM   #3
c0smit0^
LQ Newbie
 
Registered: Aug 2006
Posts: 7

Original Poster
Rep: Reputation: 0
the GDebi package installer
 
Old 07-14-2008, 11:57 AM   #4
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Sometimes an updater is running in the background, which will prevent any other software management application from running. Is there an update icon sitting in the top right corner? If that isn't the case, then you may want to have a look at the list of running applications (System > Administration > System Monitor). You can also install try installing from the command line. Just place the opera package in your home directory and do sudo dpkg -i name_of_package (you can use tab to complete the name as soon as you have typed the first few letters of the package).
 
Old 07-14-2008, 12:04 PM   #5
c0smit0^
LQ Newbie
 
Registered: Aug 2006
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jay73 View Post
Sometimes an updater is running in the background, which will prevent any other software management application from running. Is there an update icon sitting in the top right corner? If that isn't the case, then you may want to have a look at the list of running applications (System > Administration > System Monitor). You can also install try installing from the command line. Just place the opera package in your home directory and do sudo dpkg -i name_of_package (you can use tab to complete the name as soon as you have typed the first few letters of the package).
tried installing from the command line and i get this " sudo dpkg -i opera_9.51.2061.gcc4.qt3_amd64.deb
dpkg: error processing opera_9.51.2061.gcc4.qt3_amd64.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
opera_9.51.2061.gcc4.qt3_amd64.deb


also there is no updater running, any idea what the problem is??
 
Old 07-14-2008, 12:46 PM   #6
Sjonnie48
Member
 
Registered: Jun 2005
Location: Earth
Distribution: Ubuntu10.04
Posts: 308

Rep: Reputation: 43
[HTML]No such file or directory[/HTML]

This message indicates what's wrong.
For installing this package you must have downloaded it, and you must operate in the directory where you saved the package.
An easier method would be: sudo apt-get install opera
 
Old 07-14-2008, 12:51 PM   #7
c0smit0^
LQ Newbie
 
Registered: Aug 2006
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Sjonnie48 View Post
[HTML]No such file or directory[/HTML]

This message indicates what's wrong.
For installing this package you must have downloaded it, and you must operate in the directory where you saved the package.
An easier method would be: sudo apt-get install opera
i did download it but still same thing, and when i try to run the command apt-get install i get this error E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
E: _cache->open() failed, please report.

i get it even when i try to open it from system>administration>synaptic package manager..........
 
Old 07-14-2008, 01:44 PM   #8
Sjonnie48
Member
 
Registered: Jun 2005
Location: Earth
Distribution: Ubuntu10.04
Posts: 308

Rep: Reputation: 43
It almost seems to me that another application is hampering adept.
Have you tried ps ax | grep apt, or ps ax | grep dpkg
Yet another possibility is top, which enables you to find out if one of the install processes has gone into zombie state.
To stop top: Q.
 
Old 07-14-2008, 02:07 PM   #9
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Are you sure you are running a 64 bit OS?

Have you tried
ls
before you ran dpkg -i?

ls shows the contents of the currrent directory, if it doesn't show your opera package, then clearly your terminal is pointing in the wrong direction or the package is not right inside your home directory.

Last edited by jay73; 07-14-2008 at 02:10 PM.
 
Old 07-14-2008, 05:39 PM   #10
c0smit0^
LQ Newbie
 
Registered: Aug 2006
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jay73 View Post
Are you sure you are running a 64 bit OS?

Have you tried
ls
before you ran dpkg -i?

ls shows the contents of the currrent directory, if it doesn't show your opera package, then clearly your terminal is pointing in the wrong direction or the package is not right inside your home directory.
yes i am running a 64 bit OS, and i dont understand everything else u said because im new to ubuntu linux l0l s0 if u c0uld explain things as much as possible i w0uld really appreciate it thanx
 
Old 07-14-2008, 07:21 PM   #11
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
OK, let's see. I was just wondering whether that opera file is right inside your home directory, not inside a subdirectory. It won't be found by your terminal if it isn't. The quick solution is to make sure it is in the proper place. But if you want to understand more, here is a little theory (be sure to try it out as you are reading this).
The terminal can't read your mind so it doesn't know which directory it is supposed to look in. By default, it searches only the user's home directory (in this case, yours). You can see that confirmed if you use the
Quote:
pwd
(=print working directory) command, which makes the terminal tell you where it is located. Just type it into your terminal and it should return "/home/your_username".
If you need it to look elsewhere, whether it is a directory inside your home or some other location, you instruct it to do so explicitly. The command to use in that case is
Quote:
cd (=change directory) followed by the name of the directory in question
For example, if you have a folder called "Videos" or "Desktop" inside your home directory, you would use cd Videos or cd Desktop. If there is another directory inside one of those, you would add it. So if you have folder foo inside Movies, you would use cd Videos/foo. That is, if the terminal is still pointing to your home directory. If you have already moved to Videos (using cd Videos), you should use cd foo (there isn't any Videos folder inside Videos after all - the terminal would object that it can't find any Videos/foo inside Videos).The prompt should show at any time where the terminal is located but, as pointed out, you can also use pwd to find out. If there is a further folder inside foo, then you use cd Videos/foo/foldername (or cd foo/foldername, or cd foldername, depending on where the terminal is pointing to at the moment). I think that you get the pattern.
All of that applies to climbing down directories, if you want to climb up, you use
Quote:
cd ..
which takes you up one level at a time.
Wherever your terminal is situated, it can be returned to your home directory at once with a plain cd. Just give it a try:
Quote:
cd ..
pwd
cd ..
pwd
cd
pwd
Or a little more fancy:
Quote:
cd ..
cd ..
cd usr
pwd
cd local
pwd
cd
pwd
That also works from any subdirectory or your home.
So far I have discussed only relative paths i.e. directories defined in relation to other ones (in this case, your home directory). There is another thing called an absolute path, which is defined in terms of the root of your filesystem. In order to understand this concept, you should click on the Computer icon on your desktop. The "Filesystem" icon stands for the root of your filesystem, also represented as "/". All the other directories branch out from it, directly or indirectly. Thus if you click on "Filesystem, your are presented with a first level of directories that sit on top of root (/home is one of those). If you click on any one of those, you get a further level of directories, which sit on top of that one directory that sits on top of root (e.g. your personal home directory if you click on the home icon). You can go on clicking around until you reach a directory that hasn't got any further subdirectories. Now, here is where the absolute path comes in. You can define a location relative to root. For example, you can move from anywhere in the filesystem to Videos with one command:
cd /home/username/Videos
That one command can be analyzed as:
First move to root:
cd /
then to its home subdirectory
cd /home
and from there to your home directory:
cd /home/your_username
and further
cd /home/your_username/Videos
and so on.
Absolute paths are really convenient for traveling quickly from one branch of root to another one. If you were inside your home directory and you needed to move to, say, /boot/grub in order to edit your grub configuration file, you could use a relative path but that would take many steps:
first move up to /home: cd ..
then up from there to the next level up (/): cd ..
then from / to boot: cd boot
and from there to grub: cd grub
That is four commands, when you could have used only a single one by using an absolute path:
cd /boot/grub
As you can see, the distinguishing feature of absolute paths is that they all start with a slash - relative ones don't.
Bear in mind that Linux is case sensitive. If something has a capital, then that's exactly how it should be typed or it won't be found. But luckily, folder names can be completed using the tab key.

Now for another command: ls (=list segments), which shows the contents of a directory. A plain ls will show the contents of the directory that your terminal is pointing to, an ls followed by a path (relative or absolute) will show the contents of the specific directory in question (e.g. ls /usr or ls Desktop). Like so many commands, ls has all kinds of options that you can add to get even more information. Thus ls -l will show extensive information about the files in a directory, ls -a will show hidden files as well, ls -al will do both. You can find more information about your options by typing commandname --help or man commandname into your terminal. Clearly, if you bring up your terminal and you type ls and it does not show your opera package, then it is not right inside your home directory. In that case you either make sure that it is or you use the terminal to cd to the proper location. Both work just fine.

OK, I hope that you now understand a bit better. It will save you a lot of frustration in the long run. But if you are lazy (so am I a lot of the time), you should install nautilus-terminal (sudo aptitude install nautilus-terminal). It will add an "open in terminal" entry to your contect menu that automatically points to the directory where it is opened so you never have to do any of that cd stuff anymore (although it doesn't work for Desktop for some reason).

Last edited by jay73; 07-14-2008 at 07:27 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Software Portals Can Do More Than Install Software LXer Syndicated Linux News 0 12-18-2007 06:42 AM
etch net install hangs on install software knobby67 Debian 1 02-14-2007 11:58 AM
apt-get install dependency problems with hplip software and kde install for Agnula maybi7 Linux - Software 1 02-03-2007 05:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 05:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration