Jump to content

Recommended Posts

Posted
How are you trying to add the extra repository?

Do you have update manager running, or is it trying to do it's daily check to see if there's updates?

 

Also 256MB is not much RAM for any modern GUI OS that isn't really trying to conserve system resources, which is not one of ubuntu's aims... xubuntu might be a faster option for you...

 

Yesterday, I tried the method that 1veedo offered, but no luck. Today, I am trying out the sticky on the beginner forum again. I installed all of the gstreamer plugins and flash. Now that I know that aptitude is not running in the background from 1veedo's method, I am trying to edit:

 

$gksudo gedit /etc/apt/sources.list

 

But when the file comes up in gedit, I make the change, but again, it does not give me the option to save it, only save as, since it is read-only. Synaptic is not running. As far as I know aptitude and apt-get are not running either. I go to system monitor just to make sure and none of these are running.

 

So, I try:

 

$sudo vim /etc/apt/sources.list

 

I make the changes and then when I try to save it using :wq! , it says,

 

"/etc/apt/sources.list" E212: Can't open file for writing

Press ENTER or type command to continue

 

 

So I go back to 1veedo's method. I input:

 

sudo aptitude install ubuntu-restricted-extras libxine-extracodecs gstreamer0.10-plugins-base gstreamer0.10-plugins-good \

gstreamer0.10-plugins-bad gstreamer0.10-pitfdll

 

Everything works fine this time. Then I try to install w32codecs and:

 

justin@justin-desktop:~$ sudo aptitude install w32codecs

Reading package lists... Done

Building dependency tree

Reading state information... Done

Reading extended state information

Initializing package states... Done

Building tag database... Done

No candidate version found for w32codecs

No packages will be installed, upgraded, or removed.

0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Need to get 0B of archives. After unpacking 0B will be used.

Writing extended state information... Done

 

 

No w32codecs.

Posted
$gksudo gedit /etc/apt/sources.list

 

[doesn't work]

 

$sudo vim /etc/apt/sources.list

 

[doesn't work]

 

sudo aptitude install ubuntu-restricted-extras libxine-extracodecs gstreamer0.10-plugins-base gstreamer0.10-plugins-good \

gstreamer0.10-plugins-bad gstreamer0.10-pitfdll

 

Everything works fine this time.

 

just to check: you're not actually typing the '$' in are you? that seems to make bash ignore the first command (eg, sudo/gksudo). that'd be consistant with the 'read-only' messages (as you'd not be opening the file as root if the sudo bit's being ignored, so you wouldn't have write permission).

 

try sudo gedit /etc/apt/sources.list and it should ask you for your password before opening gedit.

Posted

Lol, for one second, I thought that would be an issue, but it got swept under the rug as I was in a hurry to get it done.

 

Everything worked fine this time. Thank you for your help.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.