LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-17-2013, 11:04 AM   #1
apurva1990
LQ Newbie
 
Registered: Aug 2013
Posts: 2

Rep: Reputation: Disabled
Question How to change system file permission?


I am using ubuntu 10.04.I am getting below error while taking update.

Error:-
An unresolvable problem occurred while initializing the package information.

Please report this bug against the 'update-manager' package and include the following error message:

'E:Type 'ain' is not known on line 3 in source list /etc/apt/sources.list.d/ubuntu-audio-dev-ppa-maverick.list'
------------------------
So,i want to change file in directory "/etc/apt/sources.list.d/" .

suggest me way to do it.

Last edited by apurva1990; 08-17-2013 at 11:08 AM.
 
Old 08-17-2013, 11:22 AM   #2
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 343Reputation: 343Reputation: 343Reputation: 343
Hi there,

Quote:
Originally Posted by apurva1990 View Post
I am using ubuntu 10.04.I am getting below error while taking update.
oh well, even though Ubuntu 10.04 is an LTS, it's paleontology. The most recent version is 13.04, the most recent LTS is 12.04.
That being said ...

Code:
Error:-
An unresolvable problem occurred while initializing the package information.

Please report this bug against the 'update-manager' package and include the following error message:

'E:Type 'ain' is not known on line 3 in source list /etc/apt/sources.list.d/ubuntu-audio-dev-ppa-maverick.list'
That looks very much like you added an extra repository to your software sources and mistyped "ain" instead of "main".

Quote:
Originally Posted by apurva1990 View Post
So,i want to change file in directory "/etc/apt/sources.list.d/".
Exactly. Become root (using sudo) and open /etc/apt/sources.list.d/ubuntu-audio-dev-ppa-maverick.list in a text editor (nano, gedit, vi, vim, gvim, whatever you use each day). Search for the line containing the offending ppa line ... no, you don't have to search for it, as update manager clearly tells you it's line 3. Correct "ain" to "main", save the file, and try to repeat the update.

[X] Doc CPU
 
Old 08-17-2013, 12:07 PM   #3
kosnick
LQ Newbie
 
Registered: Aug 2013
Posts: 4

Rep: Reputation: Disabled
As Doc CPU suggested you need to open the file and correct it.
Another good thing to do is use "Synaptic Package Manager" (it comes with ubuntu(system tools-administration-synaptic), you already have it there - as long as i am not wrong, they have removed it in later versions). In that, there is the option of changing the repositories. Since it needs root privileges you will be asked for the root password.
 
Old 08-17-2013, 12:16 PM   #4
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 343Reputation: 343Reputation: 343Reputation: 343
Hi there,

Quote:
Originally Posted by kosnick View Post
Another good thing to do is use "Synaptic Package Manager"
indeed yes, I should've suggested that myself. But very often, I find editing a file just easier than opening some program and clicking through a maze of menus and dialogs. Yet you're right, using Synaptic package manager would be the way to go. And yes, in Ubuntu 10.04 it was definitely included in the default installation.

Quote:
Originally Posted by kosnick View Post
Since it needs root privileges you will be asked for the root password.
In fact, Synaptic asks for a password on startup, but the password required here is the user's own - assuming that user has the right to use 'sudo'. If not, you'll have to launch Synaptic from the root account explicitly, which would be very unusual.

[X] Doc CPU
 
Old 08-17-2013, 12:17 PM   #5
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,131
Blog Entries: 2

Rep: Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833
Two things:
- Ubuntu 10.04 LTS reached its end of life. This means that you won't get bugfixes and, worse, security updates. It is strongly recommended to use a supported version, like Ubuntu 12.04 LTS (supported until 2017)
- Ubuntu 10.04 LTS is codenamed Lucid, but you are using a PPA for its successor, Ubuntu 10.10, codenamed Maverick. Mixing systems up like that may damage your installation.
 
Old 08-17-2013, 12:47 PM   #6
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 343Reputation: 343Reputation: 343Reputation: 343
Hi there,

Quote:
Originally Posted by TobiSGD View Post
Ubuntu 10.04 LTS reached its end of life. This means that you won't get bugfixes and, worse, security updates. It is strongly recommended to use a supported version, like Ubuntu 12.04 LTS (supported until 2017)
I seem to remember there was something about a 5 year support period, and I thought they'd applied that retroactively to the older LTS's, too. I'm getting lost on the official Ubuntu website, but Wikipedia confirms my thought: 10.04 LTS still has about 20 months to live.

Quote:
Originally Posted by TobiSGD View Post
Ubuntu 10.04 LTS is codenamed Lucid, but you are using a PPA for its successor, Ubuntu 10.10, codenamed Maverick. Mixing systems up like that may damage your installation.
Didn't realize that, but yes, that's a good point. How much a package actually depends on a certain OS version differs from one package to another; there are some that aren't version aware at all, as long as some basic prerequisites are given (like presence of certain standard libraries).
So this concern of yours may or may not be an issue in this case, but it was definitely worth mentioning.

[X] Doc CPU
 
Old 08-17-2013, 02:05 PM   #7
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,131
Blog Entries: 2

Rep: Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833
Quote:
Originally Posted by Doc CPU View Post
I seem to remember there was something about a 5 year support period, and I thought they'd applied that retroactively to the older LTS's, too.
Nope.
Quote:
I'm getting lost on the official Ubuntu website, but Wikipedia confirms my thought: 10.04 LTS still has about 20 months to live.
This is only true for the server edition, but not the desktop edition. This usually means that you won't see updates for GUI software, like browsers. Not having an up to date browser can be a serious security risk.
 
Old 08-17-2013, 02:56 PM   #8
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
Been there, done that TobiSGD is right, 5 years only applies to the server edition of 10.04.

Having said that, I suggest that apurva1990 makes backups of his data and does a fresh install of 12.04
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Change file permission elainelaw Linux - Newbie 4 12-15-2010 07:05 AM
Any log file for checking file permission change history in RHEL 5.1? bilalcochin Linux - Newbie 3 04-02-2010 10:57 AM
Change access permission of file system macubex Linux - Newbie 10 05-15-2009 07:51 AM
change file permission of a mouse device file permanently alexandre_fs Linux - General 5 01-09-2007 07:30 AM
how to change the file permission ?? AK prince Slackware 17 08-05-2005 01:16 PM


All times are GMT -5. The time now is 06:22 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration