Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 06-07-2007, 07:05 PM   #1 (permalink)
Bayerische Motoren Werke
 
Third Eye's Avatar
 
Join Date: Apr 2006
Location: not very far from you
Posts: 4,284
Unhappy Ubuntu 7.4 (Fiesty Fawn) Problem

I have Ubuntu 7.4 (Fiesty Fawn) installed and i am unable to install softwares,games.etc
When ever i tried to install any application via Synaptic Package Manager then it gives me an error(See the screenshot)



Earlier i was able to install the applications

Please help
__________________
File not found. Should I fake it? (Y/N)
Third Eye is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 06-07-2007, 07:09 PM   #2 (permalink)
Wire muncher!
 
infra_red_dude's Avatar
 
Join Date: Nov 2003
Posts: 6,164
Default Re: Ubuntu 7.4 (Fiesty Fawn) Problem

jus' execute these commands to clean up:

sudo apt-get autoremove
sudo apt-get update
sudo apt-get upgrade

in that order in terminal and report back.
__________________
"The true measure of a man is how he treats someone who can do him absolutely no good."

http://phoenix-ani.blogspot.com
infra_red_dude is offline  
Old 06-07-2007, 07:16 PM   #3 (permalink)
Bayerische Motoren Werke
 
Third Eye's Avatar
 
Join Date: Apr 2006
Location: not very far from you
Posts: 4,284
Default Re: Ubuntu 7.4 (Fiesty Fawn) Problem

I am still getting the same error
__________________
File not found. Should I fake it? (Y/N)
Third Eye is offline  
Old 06-07-2007, 08:09 PM   #4 (permalink)
Wire muncher!
 
infra_red_dude's Avatar
 
Join Date: Nov 2003
Posts: 6,164
Default Re: Ubuntu 7.4 (Fiesty Fawn) Problem

ok what errors do u get in terminal when u execute these commands?
__________________
"The true measure of a man is how he treats someone who can do him absolutely no good."

http://phoenix-ani.blogspot.com
infra_red_dude is offline  
Old 06-07-2007, 09:09 PM   #5 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,513
Default Re: Ubuntu 7.4 (Fiesty Fawn) Problem

@techgeniuspen terminal(menu Applications>accessrs>terminal or right clik on desktop) and try
Code:
sudo apt-get install -f
or
Code:
sudo dpkg --configure  -a
dont open synaptic while doing this in terminal.
also make sure u got a good /etc/apt/sources.list.
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 06-07-2007, 09:35 PM   #6 (permalink)
Bayerische Motoren Werke
 
Third Eye's Avatar
 
Join Date: Apr 2006
Location: not very far from you
Posts: 4,284
Default Re: Ubuntu 7.4 (Fiesty Fawn) Problem

Still getting the same error when installing softwares (See the screen)





I think the problem is in usr/bin/dpkg

Quote:
Originally Posted by infra_red_dude
ok what errors do u get in terminal when u execute these commands?
Code:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be upgraded:
  update-manager update-manager-core
2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/896kB of archives.
After unpacking 4096B of additional disk space will be used.
Do you want to continue [Y/n]? Y
dpkg: parse error, in file `/var/lib/dpkg/available' near line 1:
 field name `r.gz,' must be followed by colon
E: Sub-process /usr/bin/dpkg returned an error code (2)
I get this error when executing sudo apt-get upgrade
__________________
File not found. Should I fake it? (Y/N)

Last edited by Third Eye; 06-07-2007 at 09:35 PM. Reason: Automerged Doublepost
Third Eye is offline  
Old 06-07-2007, 09:49 PM   #7 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,513
Default Re: Ubuntu 7.4 (Fiesty Fawn) Problem

this is a problem with sources.list I think. /var/lib/available is fetched and updated when u do "sudo apt-get update" from terminal.try.if u want u can reinstall dpkg:
Code:
sudo apt-get install dpkg --reinstall
first post the output of "sudo apt-get update" from terminal and post the o/p here.
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 06-07-2007, 09:56 PM   #8 (permalink)
Bayerische Motoren Werke
 
Third Eye's Avatar
 
Join Date: Apr 2006
Location: not very far from you
Posts: 4,284
Default Re: Ubuntu 7.4 (Fiesty Fawn) Problem

Here is the output of sudo apt-get update

Code:
Ign cdrom://Ubuntu 7.04 _Feisty Fawn_ - Release i386 (20070415) feisty/main Translation-en_US
Ign cdrom://Ubuntu 7.04 _Feisty Fawn_ - Release i386 (20070415) feisty/restricted Translation-en_US
Ign cdrom://Ubuntu 7.04 _Feisty Fawn_ - Release i386 (20070415) feisty/main Translation-en_US
Ign cdrom://Ubuntu 7.04 _Feisty Fawn_ - Release i386 (20070415) feisty/restricted Translation-en_US
Get:1 http://archive.ubuntu.com feisty Release.gpg [191B]                      
Get:2 http://us.archive.ubuntu.com feisty Release.gpg [191B]                   
Ign http://us.archive.ubuntu.com feisty/main Translation-en_US                 
Get:3 http://security.ubuntu.com feisty-security Release.gpg [191B]            
Ign http://security.ubuntu.com feisty-security/main Translation-en_US          
Get:4 http://archive.canonical.com dapper-commercial Release.gpg [191B]        
Ign http://archive.canonical.com dapper-commercial/main Translation-en_US      
Hit http://archive.ubuntu.com feisty Release                                   
Ign http://security.ubuntu.com feisty-security/restricted Translation-en_US    
Ign http://security.ubuntu.com feisty-security/universe Translation-en_US      
Ign http://security.ubuntu.com feisty-security/multiverse Translation-en_US    
Ign http://us.archive.ubuntu.com feisty/restricted Translation-en_US           
Ign http://us.archive.ubuntu.com feisty/universe Translation-en_US             
Ign http://us.archive.ubuntu.com feisty/multiverse Translation-en_US           
Ign http://us.archive.ubuntu.com feisty/main Translation-en_US                 
Get:5 http://us.archive.ubuntu.com feisty-updates Release.gpg [191B]           
Ign http://us.archive.ubuntu.com feisty-updates/main Translation-en_US         
Hit http://archive.ubuntu.com feisty/restricted Sources                        
Hit http://archive.canonical.com dapper-commercial Release                     
Hit http://security.ubuntu.com feisty-security Release                         
Hit http://archive.ubuntu.com feisty/main Sources                              
Ign http://us.archive.ubuntu.com feisty-updates/restricted Translation-en_US   
Hit http://us.archive.ubuntu.com feisty Release                                
Hit http://archive.canonical.com dapper-commercial/main Packages               
Hit http://security.ubuntu.com feisty-security/main Packages                   
Hit http://us.archive.ubuntu.com feisty-updates Release                        
Hit http://security.ubuntu.com feisty-security/restricted Packages             
Hit http://security.ubuntu.com feisty-security/restricted Sources              
Hit http://security.ubuntu.com feisty-security/main Sources       
Hit http://us.archive.ubuntu.com feisty/main Packages             
Hit http://us.archive.ubuntu.com feisty/restricted Packages       
Hit http://us.archive.ubuntu.com feisty/restricted Sources        
Hit http://security.ubuntu.com feisty-security/multiverse Sources 
Hit http://security.ubuntu.com feisty-security/universe Sources   
Hit http://security.ubuntu.com feisty-security/universe Packages               
Hit http://security.ubuntu.com feisty-security/multiverse Packages             
Hit http://us.archive.ubuntu.com feisty/main Sources                           
Hit http://us.archive.ubuntu.com feisty/multiverse Sources        
Hit http://us.archive.ubuntu.com feisty/universe Sources          
Hit http://us.archive.ubuntu.com feisty/universe Packages         
Hit http://us.archive.ubuntu.com feisty/multiverse Packages
Hit http://us.archive.ubuntu.com feisty/main Packages
Hit http://us.archive.ubuntu.com feisty-updates/main Packages
Hit http://us.archive.ubuntu.com feisty-updates/restricted Packages
Hit http://us.archive.ubuntu.com feisty-updates/main Sources      
Hit http://us.archive.ubuntu.com feisty-updates/restricted Sources
Get:6 http://ubuntu.beryl-project.org feisty Release.gpg [191B]                
Ign http://ubuntu.beryl-project.org feisty/main Translation-en_US              
Ign http://ubuntu.beryl-project.org feisty/main Translation-en_US              
Hit http://ubuntu.beryl-project.org feisty Release                             
Hit http://ubuntu.beryl-project.org feisty/main Packages                       
Hit http://ubuntu.beryl-project.org feisty/main Sources                        
Hit http://ubuntu.beryl-project.org feisty/main Packages                       
Hit http://ubuntu.beryl-project.org feisty/main Sources                        
Fetched 196B in 12s (16B/s)                                                    
Reading package lists... Done
__________________
File not found. Should I fake it? (Y/N)
Third Eye is offline  
Old 06-07-2007, 10:15 PM   #9 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,513
Default Re: Ubuntu 7.4 (Fiesty Fawn) Problem

my opinion is u can try the apt-get reinstall dpkg.
did u already ran "apt-get install -f".it mostly fixes.
another think is,u can just go through the output of below commands to notice which package is in error state by looking through:
Code:
 dpkg -l |less
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 06-07-2007, 10:18 PM   #10 (permalink)
Bayerische Motoren Werke
 
Third Eye's Avatar
 
Join Date: Apr 2006
Location: not very far from you
Posts: 4,284
Default Re: Ubuntu 7.4 (Fiesty Fawn) Problem

Quote:
Originally Posted by praka123
my opinion is u can try the apt-get reinstall dpkg.
did u already ran "apt-get install -f".it mostly fixes.

ya i have tried it.

Quote:
Originally Posted by praka123
another think is,u can just go through the output of below commands to notice which package is in error state by looking through:
Code:
dpkg-query: parse error, in file `/var/lib/dpkg/available' near line 1:
 field name `r.gz,' must be followed by colon
(END)
error
__________________
File not found. Should I fake it? (Y/N)

Last edited by Third Eye; 06-07-2007 at 10:18 PM. Reason: Automerged Doublepost
Third Eye is offline  
Old 06-07-2007, 10:22 PM   #11 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,513
Smile Re: Ubuntu 7.4 (Fiesty Fawn) Problem

did u tried:
Code:
 sudo apt-get install dpkg --reinstall
and try again.
if this too fails.then a manual house keeping needed.
u need to backup and do the following.
[CODE]~$ sudo mv /var/lib/dpkg/available /var/lib/dpkg/available.bk /CODE]
now,
Code:
:~$sudo touch /var/lib/dpkg/available
now apt-get update,see any furthur error.
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 06-07-2007, 10:27 PM   #12 (permalink)
Bayerische Motoren Werke
 
Third Eye's Avatar
 
Join Date: Apr 2006
Location: not very far from you
Posts: 4,284
Default Re: Ubuntu 7.4 (Fiesty Fawn) Problem

Quote:
Originally Posted by praka123
did u tried:
Code:
 sudo apt-get install dpkg --reinstall
and try again.
if this too fails.then a manual house keeping needed.
u need to backup and do the following.
[code]~$ sudo mv /var/lib/dpkg/available /var/lib/dpkg/available.bk /CODE]
now,
Code:
:~$sudo touch /var/lib/dpkg/available
now apt-get update,see any furthur error.
this is what i have got

Code:
antileet@MTNL:~$  sudo apt-get install dpkg --reinstall 
Password:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 2 not upgraded.
Need to get 0B/1947kB of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
dpkg: parse error, in file `/var/lib/dpkg/available' near line 1:
 field name `r.gz,' must be followed by colon
E: Sub-process /usr/bin/dpkg returned an error code (2)
antileet@MTNL:~$
__________________
File not found. Should I fake it? (Y/N)
Third Eye is offline  
Old 06-07-2007, 10:29 PM   #13 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,513
Default Re: Ubuntu 7.4 (Fiesty Fawn) Problem

if this too fails.then a manual house keeping needed.
u need to backup and do the following.
Code:
~$ sudo mv /var/lib/dpkg/available /var/lib/dpkg/available.bk
now,
Code:
:~$sudo touch /var/lib/dpkg/available
now apt-get update,see any furthur error
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 06-07-2007, 10:33 PM   #14 (permalink)
Bayerische Motoren Werke
 
Third Eye's Avatar
 
Join Date: Apr 2006
Location: not very far from you
Posts: 4,284
Default Re: Ubuntu 7.4 (Fiesty Fawn) Problem

antileet@MTNL:~$ ~$ sudo mv /var/lib/dpkg/available /var/lib/dpkg/available.bk
bash: ~$: command not found
antileet@MTNL:~$ ~$ sudo mv /var/lib/dpkg/available /var/lib/dpkg/available.bk
bash: ~$: command not found
antileet@MTNL:~$ :~$sudo touch /var/lib/dpkg/available
bash: :~: command not found
antileet@MTNL:~$
__________________
File not found. Should I fake it? (Y/N)
Third Eye is offline  
Old 06-07-2007, 10:51 PM   #15 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,513
Default Re: Ubuntu 7.4 (Fiesty Fawn) Problem

dude!I meant like this:
Code:
sudo mv /var/lib/dpkg/available /var/lib/dpkg/available.bk
now,
Code:
sudo touch /var/lib/dpkg/available
now apt-get update,see any furthur error
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 06-07-2007, 10:52 PM   #16 (permalink)
God of Mistakes...
 
Garbage's Avatar
 
Join Date: Dec 2005
Location: Pune, Maharashtra
Posts: 1,905
Default Re: Ubuntu 7.4 (Fiesty Fawn) Problem

The only thing I understood by above discussions is that,
When things gone bad in Linux, Then they REALLY GONE BAD...
__________________
Registered Linux User #468778
----------------------------------
http://twitter.com/_Garbage_
Garbage is offline  
Old 06-07-2007, 10:55 PM   #17 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,513
Default Re: Ubuntu 7.4 (Fiesty Fawn) Problem

some command line that u always be ready with any unix-like OS.see my thread:
Can You Live without Terminal in GNU/Linux:
http://www.thinkdigit.com/forum/sear...earchid=293542
and for ubuntu or Debian isnt a rocket science to know apt-dpkg and few ls,cp,mv like commands.
http://wiki.debian.org/Introduction_...ght=%28dpkg%29
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 07-07-2007, 03:09 AM   #18 (permalink)
Bayerische Motoren Werke
 
Third Eye's Avatar
 
Join Date: Apr 2006
Location: not very far from you
Posts: 4,284
Default Re: Ubuntu 7.4 (Fiesty Fawn) Problem

I am now able to install softwares

Thanks praka123 and thanks to infra_red_dude too
__________________
File not found. Should I fake it? (Y/N)

Last edited by Third Eye; 07-07-2007 at 08:51 AM.
Third Eye is offline  
Old 07-07-2007, 03:24 AM   #19 (permalink)
I WANT MORE FPS!!
 
adithyagenius's Avatar
 
Join Date: Aug 2004
Location: Shifted to Hydreabad from Mumbai
Posts: 494
Default Re: Ubuntu 7.4 (Fiesty Fawn) Problem

Quote:
Originally Posted by Tech Genius
antileet@MTNL:~$ ~$ sudo mv /var/lib/dpkg/available /var/lib/dpkg/available.bk
bash: ~$: command not found
antileet@MTNL:~$ ~$ sudo mv /var/lib/dpkg/available /var/lib/dpkg/available.bk
bash: ~$: command not found
antileet@MTNL:~$ :~$sudo touch /var/lib/dpkg/available
bash: :~: command not found
antileet@MTNL:~$
LOL. Many books make the mistake of not telling what the $ , # etc mean and this is what happens. $ means standard user and # means administrator.
__________________
E8500+Asus P5Q Pro, GTX280 OC, 4GB RAM+RAID0 2*WD 500GB, CM690+Corsair 650TX, Razer Diamondback+Goliathus Control Edition Omega, Microsoft Natural Ergonomic 4000, Dell E228WFP, X-Fi Titanium+T6060
adithyagenius is offline  
Old 07-07-2007, 03:34 AM   #20 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,513
Post Re: Ubuntu 7.4 (Fiesty Fawn) Problem

I always thought it will be easier to figure out "$" and "#" in the CLI/terminal when it is to put a code here .
but most users are coming from win platform where casual users are not so aware of user accounts and permission system and Linux admin account root etc etc
yes.that needs to be known to new users.for that matter some shells uses "->" or "%" ...and u can change the prompt in bash like whatever:
Code:
 PS1='`whoami`:$PWD # ';export PS1

^prank
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu 7.04 'Fiesty Fawn' Released [xubz] Open Source 128 07-05-2007 08:27 PM
Ubuntu 7.04 (Feisty Fawn) Install Guide! montylee Open Source 7 28-04-2007 09:29 PM
Ubuntu Feisty Fawn Drawing Near freebird Open Source 1 01-03-2007 11:40 PM
Ubuntu 7.04's Codename will be "Feisty Fawn" [xubz] Open Source 2 19-10-2006 03:34 PM


All times are GMT +5.5. The time now is 04:18 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2