LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-07-2006, 04:29 PM   #1
adamf4i
Member
 
Registered: Jun 2006
Location: kansas city,mo
Distribution: kubuntu
Posts: 95

Rep: Reputation: 15
can anyone tell me whats in these folders i think i removed something


/etc/preferences

/etc/apt/preferences
 
Old 08-07-2006, 04:33 PM   #2
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Rep: Reputation: 31
Quote:
Originally Posted by adamf4i
/etc/preferences

/etc/apt/preferences
I dont even have these in my system.
 
Old 08-07-2006, 04:49 PM   #3
adamf4i
Member
 
Registered: Jun 2006
Location: kansas city,mo
Distribution: kubuntu
Posts: 95

Original Poster
Rep: Reputation: 15
just do vi /etc/preferences
and vi /etc/apt/preferences
andtell me whats in there
 
Old 08-07-2006, 05:07 PM   #4
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Rep: Reputation: 31
Quote:
Originally Posted by adamf4i
just do vi /etc/preferences
and vi /etc/apt/preferences
andtell me whats in there
Nadda! This is what it looks like after doing both:

~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
"/etc/apt/preferences" [New File] 0,0-1 All


 
Old 08-07-2006, 06:09 PM   #5
fragos
Senior Member
 
Registered: May 2004
Location: Fresno CA USA
Distribution: Ubuntu 10.10
Posts: 1,466

Rep: Reputation: 51
In my Gnome Ubuntu system there are no such directories. /etc has lots of configuration data. As a rule, if configuration files are deleted they will be recreated to default values the next time the configuration is required.
 
Old 08-07-2006, 06:16 PM   #6
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Rep: Reputation: 31
Quote:
Originally Posted by fragos
In my Gnome Ubuntu system there are no such directories. /etc has lots of configuration data. As a rule, if configuration files are deleted they will be recreated to default values the next time the configuration is required.
Thats what I thought. Hence, "I dont even have these in my system"
 
Old 08-07-2006, 06:19 PM   #7
adamf4i
Member
 
Registered: Jun 2006
Location: kansas city,mo
Distribution: kubuntu
Posts: 95

Original Poster
Rep: Reputation: 15
hmm, i cant figure out why imgettin an error then when tryin to do and apt-get upgrade
 
Old 08-07-2006, 06:34 PM   #8
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Rep: Reputation: 31
Quote:
Originally Posted by adamf4i
hmm, i cant figure out why imgettin an error then when tryin to do and apt-get upgrade
Whats the error? Are you doing a 'sudo apt-get upgrade'? (or is it sudo apt-get install upgrade?)
 
Old 08-07-2006, 06:41 PM   #9
adamf4i
Member
 
Registered: Jun 2006
Location: kansas city,mo
Distribution: kubuntu
Posts: 95

Original Poster
Rep: Reputation: 15
E: Invalid record in the preferences file, no Package header
 
Old 08-07-2006, 06:46 PM   #10
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Rep: Reputation: 31
Quote:
Originally Posted by adamf4i
E: Invalid record in the preferences file, no Package header
I dont know man, I'm stumped! I have never seen that error before.

Maybe that invalid record is on the repo side! maybe the repository is at fault!
 
Old 08-07-2006, 07:14 PM   #11
adamf4i
Member
 
Registered: Jun 2006
Location: kansas city,mo
Distribution: kubuntu
Posts: 95

Original Poster
Rep: Reputation: 15
when i look at teh repositories i get these 2 errors

E: Invalid record in the preferences file, no Package header
E: Cannot read vendors.list file
 
Old 08-07-2006, 07:23 PM   #12
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Rep: Reputation: 31
Quote:
Originally Posted by adamf4i
when i look at teh repositories i get these 2 errors

E: Invalid record in the preferences file, no Package header
E: Cannot read vendors.list file
Well, I'll be Damned! Looks like a repo problem to me!
 
Old 08-07-2006, 07:25 PM   #13
adamf4i
Member
 
Registered: Jun 2006
Location: kansas city,mo
Distribution: kubuntu
Posts: 95

Original Poster
Rep: Reputation: 15
how do you fix that , i just unistalled the package manager now i cant reinstall it cause it gives me that errer again about invalid record
 
Old 08-07-2006, 07:43 PM   #14
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Rep: Reputation: 31
Quote:
Originally Posted by adamf4i
how do you fix that , i just unistalled the package manager now i cant reinstall it cause it gives me that errer again about invalid record
Well., Get rid of your /etc/apt/sources.list and copy mine.

deb http://us.archive.ubuntu.com/ubuntu/ dapper main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ dapper main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ dapper-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ dapper-updates main restricted

## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://us.archive.ubuntu.com/ubuntu/ dapper universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ dapper universe multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu dapper-security main restricted
deb-src http://security.ubuntu.com/ubuntu dapper-security main restricted
deb http://security.ubuntu.com/ubuntu dapper-security universe
deb-src http://security.ubuntu.com/ubuntu dapper-security universe



Make sure to make a backup copy of your current list so that you can always go back to it if needed.
 
Old 08-07-2006, 08:11 PM   #15
adamf4i
Member
 
Registered: Jun 2006
Location: kansas city,mo
Distribution: kubuntu
Posts: 95

Original Poster
Rep: Reputation: 15
notworkin for me LOL i copied it but still same error
 
  


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
whats difference betwen this folders? xcore_on Linux - Newbie 5 04-29-2006 05:58 PM
symlinks from folders to folders? vbsaltydog Linux - Newbie 4 04-03-2006 01:51 PM
Samba can create new files and folders but access denied in any new folders k.king Linux - Networking 2 01-15-2006 06:14 AM
Removed Forum jeremy LQ Suggestions & Feedback 4 08-12-2000 03:18 PM

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

All times are GMT -5. The time now is 07:35 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