I'm about to install Ubuntu

Page 2 - Seeking answers? Join the AnandTech community: where nearly half-a-million members share solutions and discuss the latest tech.

hurtstotalktoyou

Platinum Member
Mar 24, 2005
2,055
9
81
Originally posted by: Nothinman
That's program needs a library that you don't have on your system, this is why you should avoid installing software not packaged and available in the apt repositories. The library it's linked against is an old version of the core C++ library. If you type 'ls /usr/lib/libstdc++*' does anything come up?

"-bash: /usr/bib/libstdc++.so.6: Permission denied"
 

nweaver

Diamond Member
Jan 21, 2001
6,813
1
0
you need to use the rm command to delete, and because you ran "sudo" to extract them, they are there as "root" user (aka you don't have permission to delete). so, terminal, and type sudo rm -f file1 file2 file3 ... replacing file1 with a filename (tab completion works here) or a name with wildcard (i.e. aim*)
 

hurtstotalktoyou

Platinum Member
Mar 24, 2005
2,055
9
81
Okay, forget AIM. I've got GAIM working, so I'll deal with AIM later.

Suddenly, I can't download or move files. Nothing downloads, and an *.ogg file I extracted from a CD won't move in the GUI. What gives?

I also tried installing Audacity, but I get an error message every time I try to load it.

This is nuts. Every time it looks like I've solved a problem, ten more pop up.
 

Atheus

Diamond Member
Jun 7, 2005
7,313
2
0
What happens when you try to download? What errors are you getting when you move things? I'm guessing permissions...

Remember these problems are probably really common and google will likely bring up threads where other people have had these problems solved.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
"-bash: /usr/bib/libstdc++.so.6: Permission denied"

You forgot the 'ls' part.

Suddenly, I can't download or move files. Nothing downloads, and an *.ogg file I extracted from a CD won't move in the GUI. What gives?

What do you mean won't download or move?
 

hurtstotalktoyou

Platinum Member
Mar 24, 2005
2,055
9
81
Believe me, I have had a Google page open 90% of the time since I installed Ubuntu. I'm not just whining; this really is very frustrating.

See, I hear so many good things about Linux, but whenever I try to do these things, myself, I run into these ridiculous problems. Honestly, this is driving me crazy... But at the same time I want to learn. It's a maddening combination.

Okay, as for not being able to download files, here's an example...

Lapdog

Observe the above link. I right-click on "Happy Christmas" and select "save link as." I tell it to save as "Lapdog_Happy_Christmas_War_is_Over.mp3" in the folder "Desktop". I hit "Save" and a "Downloads" window pops up. It immediately shows the download as "done"--except, there's nothing on my desktop. The "Downloads" window also gives me an option to "open." So I do, and I get an error message: "Lapdog_Happy_Christmas_War_is_Over.mp3 does not exist. It may have been renamed, moved, or deleted since it was downloaded."

Interesting side-note: In an effort to document these troubles, I hit ALT-PRTSCR to get a screenshot of the errors. I get a popup window to save the screenshot to the desktop, so I click "save." Nothing. So that makes me think this has nothing to do with downloading, but rather just with saving files in general.
 

sourceninja

Diamond Member
Mar 8, 2005
8,805
65
91
Originally posted by: Atheus
hurtstotalktoyou:

Don't bother with all that, you have apt.

in a console, type:

apt-get update (you don't have to do this every time you install software)
apt-cache search AIM (or GAIM or whatever you want - it will return something like aim-1.5)
apt-get install aim-1.5 (or whatever it returned)

This will take care of everything, it's even easier than windows.


Thats why I recomended gaim, because i couldn't find aim on packages.ubuntu.org.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Originally posted by: hurtstotalktoyou
Believe me, I have had a Google page open 90% of the time since I installed Ubuntu. I'm not just whining; this really is very frustrating.

See, I hear so many good things about Linux, but whenever I try to do these things, myself, I run into these ridiculous problems. Honestly, this is driving me crazy... But at the same time I want to learn. It's a maddening combination.

Okay, as for not being able to download files, here's an example...

Lapdog

Observe the above link. I right-click on "Happy Christmas" and select "save link as." I tell it to save as "Lapdog_Happy_Christmas_War_is_Over.mp3" in the folder "Desktop". I hit "Save" and a "Downloads" window pops up. It immediately shows the download as "done"--except, there's nothing on my desktop. The "Downloads" window also gives me an option to "open." So I do, and I get an error message: "Lapdog_Happy_Christmas_War_is_Over.mp3 does not exist. It may have been renamed, moved, or deleted since it was downloaded."

Interesting side-note: In an effort to document these troubles, I hit ALT-PRTSCR to get a screenshot of the errors. I get a popup window to save the screenshot to the desktop, so I click "save." Nothing. So that makes me think this has nothing to do with downloading, but rather just with saving files in general.

Try creating a file there manually, see if you get an error:
touch ~/Desktop/test_file
 

drag

Elite Member
Jul 4, 2002
8,708
0
0
Jebus.

Stupid Ubuntu. I wonder how it managed to do that.

Well it's a easy fix. In Debian, by default, the user and it's main group have the same name. I assume that it's the same for Ubuntu.

So since your username is 'ben' then...

Go:
sudo chown -R ben:ben /home/ben/

And see if that helps.

edit:
I beleive somehow Ubuntu managed to change your permissions to the ~/Desktop so that they were owned by root. (~/ is a shortcut for /home/<username>)

chown is the command to change ownerships.. hence change own, or chown. -R is a modifier to tell it to change files 'recursively', that is to descend into directories and change everything.

Some commands use a -r for this, others use -R, I forget which uses which time to time.
see the man file:
man chown

ben:ben is <username>:<groupname>, which is hopefully what you want the permissons to be. If you go ls -l ~/Desktop without changing the permissions first it will probably show the owners to be root root.

 

hurtstotalktoyou

Platinum Member
Mar 24, 2005
2,055
9
81
Originally posted by: drag
Jebus.

Stupid Ubuntu. I wonder how it managed to do that.

Well it's a easy fix. In Debian, by default, the user and it's main group have the same name. I assume that it's the same for Ubuntu.

So since your username is 'ben' then...

Go:
sudo chown -R ben:ben /home/ben/

And see if that helps.

Wow, that worked perfectly, thanks!

Can you explain why that worked? What does "chown" mean? "-R"? "ben:ben"?
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
I beleive somehow Ubuntu managed to change your permissions to the ~/Desktop so that they were owned by root. (~/ is a shortcut for /home/<username>)

More than likely it was him messing with that aim tarball with sudo.
 

drag

Elite Member
Jul 4, 2002
8,708
0
0
If your curious more about this sort of thing then check out the link in my sig to the tldp.org guides.

They have a 'hands on' guide that I think is a usefull introduction to file permissions, output redirection and other things like that. Also the bash introduction guide is usefull.

You see things like using synaptic or learning apt-get is usefull for Debian and Ubuntu style distros.. They are great and Debian's package management makes things easy for the most part, however even within Linux-based operating systems it's going to be different if you went to Suse or Redhat.

But if you have a decent understanding of the file system and how permissions work and things like that, the 'unix' stuff, then that is usefull information to know for lots of different things.

It translates well into non-Linux operating systems such as Solaris, the BSD-based operating systems, Apple OS 10 operating systems, and things like that.

There are always going to be a few gotchas.. like Bash is very commonly used in Linux, but other systems will default to other unix shells. So that would be a bit different. Killall in Solaris means to 'kill everything', which is quite radically different from what it means in Linux-land.

But by and large it's much easier to go from, say, Linux to OpenBSD, then it is to go from Windows to Linux.
 

drag

Elite Member
Jul 4, 2002
8,708
0
0
Originally posted by: Nothinman
I beleive somehow Ubuntu managed to change your permissions to the ~/Desktop so that they were owned by root. (~/ is a shortcut for /home/<username>)

More than likely it was him messing with that aim tarball with sudo.


Ya..

It's another illistration that for Ubuntu and most other Linux distros that you should stick to using distro-provided packages until you get a better idea about what is going on.

It's very easy to hurt yourself.

For instance
sudo rm -rf /tmp/filename
deletes a temporary file.
sudo rm -rf / tmp/filename
deletes your entire operating system.
 

hurtstotalktoyou

Platinum Member
Mar 24, 2005
2,055
9
81
Before I degenerate into perpetual frustration and cynicism, I just want to let all you guys know I appreciate your help. Thanks so much!

Giving up is not far ahead, but I will keep the Ubuntu partition for a day or two longer, I think, in case I get a second wind.
 

drag

Elite Member
Jul 4, 2002
8,708
0
0
That's how it goes most times.

I blew away multiple linux installs before I figured out what the hell was going on.

In the future if you ever want to upgrade your sound card from that audigy ls thing, get a audigy 2. Much nicer. Then you don't have to muck around so much with sound to get everything working and sound quality is superior.
 

Tipnmo101

Senior member
Sep 18, 2000
451
0
76
I just installed ubuntu on my laptop, and being an extream noob, i found the ubuntu irc channels and this guide http://www.ubuntuguide.org/ very helpful. While anandtech is a great resource, getting help in live time takes care of minor issues much quicker and easier.

Oh and stick with it.. it took me a few days of real frustration, but i love it.. could definitely see myself installing debian or ubuntu on my main machine here in a few months...


edit: and the wiki faq is very helpful
 

drag

Elite Member
Jul 4, 2002
8,708
0
0
Originally posted by: hurtstotalktoyou
I could paint eyeballs on a rock and it would be helpful. There's not much that isn't when the OS doesn't work.


Whats not working?
 

hurtstotalktoyou

Platinum Member
Mar 24, 2005
2,055
9
81
Originally posted by: drag
Originally posted by: hurtstotalktoyou
I could paint eyeballs on a rock and it would be helpful. There's not much that isn't when the OS doesn't work.


Whats not working?

Recording music. But you gave me some instructions on that, recently. Let me try them for a little while.
 

hurtstotalktoyou

Platinum Member
Mar 24, 2005
2,055
9
81
So I just type this into Terminal...
sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup
sudo gedit /etc/apt/sources.list
...to enable the extra repositories?

I don't understand this. The extra repositories, they're like the list of programs I could use in System>Administration>Add Applications?
 

hurtstotalktoyou

Platinum Member
Mar 24, 2005
2,055
9
81
Okay, I enabled all available "repositories" (I think) in Synaptic. Still no sign of Ardour, and Audacity still doesn't work.
 

drag

Elite Member
Jul 4, 2002
8,708
0
0
family guy. Also I think it's bad personal policy to blasphem when I can remember to avoid it.

So that's like a so-so thing. :p

Recording sound is still a very pain in the rear thing to do. Once it's setup then it's fine and it works reliably.. however it's difficult to figure out the magical-seeming mixer settings to get it to work well.

Most sound cards it's not bad, but with yours it has sub-par drivers. It stems somewhat from Creative's marketting sceme of using the Audigy brandname to sell cheaper cards.

You see Audigy 1 and 2 as well as the Sound Blaster Live! uses the same or similar Emu10k1 chipsets. These had their specs released by creative and now have good drivers.. these are very feature rich cards and even then they are somewhat hard to support.

However on 2 occasions Creative used the Audigy and Sound Blaster Live! brandname to sell non-Emu10k1 cards... and they sold them along side each other like they were the same, so I think the Alsa driver makers assumed they were the same for a long time. They are busy and don't have access to all the hardware...

These are the Sound Blaster Live! 24bit and your Audigy LS.

Hell, I almost bought one myself, I figured they were just Audigy without the firewire port and that is what made them less expensive. But they are completely different.

It's pretty unfortunate.

If you can't get it to work right now then relax for a while.. There is a irc channel for alsa on irc.freenode.net you can maybe get help from, and there is a very active alsa-user mailing list that is helpfull.

Maybe on the irc channel, but I am pretty sure that on the alsa-user mailing list you can even get help from the actual driver programmers.

Be aware that most people's first response is to tell you to buy a different card, which is actually the easiest route to take for solving lots of issues.. but I don't think that would help you get the mic input working. Tell them your not worried about oss apps or software mixing/dmix, but that you just want to get your mic working.