| Forum |
|
|||||||
| 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. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Bayerische Motoren Werke
Join Date: Apr 2006
Location: not very far from you
Posts: 4,284
|
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) |
|
|
| Advertisements. Register and be a member of the community to get rid of them. | |
|
Advertisement
|
|
|
|
#2 (permalink) |
|
Wire muncher!
Join Date: Nov 2003
Posts: 6,164
|
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 |
|
|
|
|
#4 (permalink) |
|
Wire muncher!
Join Date: Nov 2003
Posts: 6,164
|
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 |
|
|
|
|
#5 (permalink) |
|
left this forum longback
Join Date: Sep 2005
Location: -
Posts: 7,513
|
@techgenius
Code:
sudo apt-get install -f Code:
sudo dpkg --configure -a 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 |
|
|
|
|
#6 (permalink) | |
|
Bayerische Motoren Werke
Join Date: Apr 2006
Location: not very far from you
Posts: 4,284
|
Still getting the same error when installing softwares (See the screen)
I think the problem is in usr/bin/dpkg Quote:
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)
__________________
File not found. Should I fake it? (Y/N) Last edited by Third Eye; 06-07-2007 at 09:35 PM. Reason: Automerged Doublepost |
|
|
|
|
|
#7 (permalink) |
|
left this forum longback
Join Date: Sep 2005
Location: -
Posts: 7,513
|
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
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You Get GNU/Linux - http://getgnulinux.org |
|
|
|
|
#8 (permalink) |
|
Bayerische Motoren Werke
Join Date: Apr 2006
Location: not very far from you
Posts: 4,284
|
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) |
|
|
|
|
#9 (permalink) |
|
left this forum longback
Join Date: Sep 2005
Location: -
Posts: 7,513
|
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 |
|
|
|
|
#10 (permalink) | ||
|
Bayerische Motoren Werke
Join Date: Apr 2006
Location: not very far from you
Posts: 4,284
|
Quote:
ya i have tried it. Quote:
Code:
dpkg-query: parse error, in file `/var/lib/dpkg/available' near line 1: field name `r.gz,' must be followed by colon (END)
__________________
File not found. Should I fake it? (Y/N) Last edited by Third Eye; 06-07-2007 at 10:18 PM. Reason: Automerged Doublepost |
||
|
|
|
|
#11 (permalink) |
|
left this forum longback
Join Date: Sep 2005
Location: -
Posts: 7,513
|
did u tried:
Code:
sudo apt-get install dpkg --reinstall 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
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You Get GNU/Linux - http://getgnulinux.org |
|
|
|
|
#12 (permalink) | |
|
Bayerische Motoren Werke
Join Date: Apr 2006
Location: not very far from you
Posts: 4,284
|
Quote:
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) |
|
|
|
|
|
#13 (permalink) |
|
left this forum longback
Join Date: Sep 2005
Location: -
Posts: 7,513
|
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:
:~$sudo touch /var/lib/dpkg/available
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You Get GNU/Linux - http://getgnulinux.org |
|
|
|
|
#14 (permalink) |
|
Bayerische Motoren Werke
Join Date: Apr 2006
Location: not very far from you
Posts: 4,284
|
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) |
|
|
|
|
#15 (permalink) |
|
left this forum longback
Join Date: Sep 2005
Location: -
Posts: 7,513
|
dude!I meant like this:
Code:
sudo mv /var/lib/dpkg/available /var/lib/dpkg/available.bk Code:
sudo touch /var/lib/dpkg/available
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You Get GNU/Linux - http://getgnulinux.org |
|
|
|
|
#16 (permalink) |
|
God of Mistakes...
Join Date: Dec 2005
Location: Pune, Maharashtra
Posts: 1,905
|
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_ |
|
|
|
|
#17 (permalink) |
|
left this forum longback
Join Date: Sep 2005
Location: -
Posts: 7,513
|
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 |
|
|
|
|
#18 (permalink) |
|
Bayerische Motoren Werke
Join Date: Apr 2006
Location: not very far from you
Posts: 4,284
|
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. |
|
|
|
|
#19 (permalink) | |
|
I WANT MORE FPS!!
Join Date: Aug 2004
Location: Shifted to Hydreabad from Mumbai
Posts: 494
|
Quote:
__________________
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 |
|
|
|
|
|
#20 (permalink) |
|
left this forum longback
Join Date: Sep 2005
Location: -
Posts: 7,513
|
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 |
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
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 |