LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-19-2010, 01:02 AM   #1
skykooler
Member
 
Registered: Feb 2010
Distribution: Ubuntu
Posts: 90

Rep: Reputation: 17
Package management is broken in Ubuntu Karmic


I have been playing around with quickly, and installed the package for my application. The install failed. Worse, none of my package managers can install anything anymore - I get the error
Code:
E: The package swift needs to be reinstalled, but I can't find an archive for it.
This seems to be the same problem as here http://www.linuxquestions.org/questi...broken-452901/
But I cannot fix it in the same way as there is no online package for me to reinstall. When I try to install the .deb I get a message that it is either corrupted or the permissions are wrong. Any ideas?
 
Old 04-19-2010, 06:37 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
What version Ubuntu? Post your /etc/apt/sources.list. Are multiverse and universe enabled? Did you apt-get update first? There is too an online package to install.
 
Old 04-20-2010, 05:35 PM   #3
skykooler
Member
 
Registered: Feb 2010
Distribution: Ubuntu
Posts: 90

Original Poster
Rep: Reputation: 17
Ubuntu 9.10 Karmic Koala.
/etc/apt/sources.lst:
Code:
#deb cdrom:[Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.5)]/ karmic main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb cdrom:[Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.5)]/ karmic main restricted
deb http://us.archive.ubuntu.com/ubuntu/ karmic main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ karmic main restricted

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

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. 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/ karmic universe
deb-src http://us.archive.ubuntu.com/ubuntu/ karmic universe
deb http://us.archive.ubuntu.com/ubuntu/ karmic-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ karmic-updates universe

## 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
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://us.archive.ubuntu.com/ubuntu/ karmic multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ karmic multiverse
deb http://us.archive.ubuntu.com/ubuntu/ karmic-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ karmic-updates 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/ karmic-backports main restricted universe multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ karmic-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu karmic partner
# deb-src http://archive.canonical.com/ubuntu karmic partner

deb http://security.ubuntu.com/ubuntu karmic-security main restricted
deb-src http://security.ubuntu.com/ubuntu karmic-security main restricted
deb http://security.ubuntu.com/ubuntu karmic-security universe
deb-src http://security.ubuntu.com/ubuntu karmic-security universe
deb http://security.ubuntu.com/ubuntu karmic-security multiverse
deb-src http://security.ubuntu.com/ubuntu karmic-security multiverse
I did apt-get update.
Quote:
There is too an online package to install.
Those packages are not named "swift". The package that I created is named "swift". Do I have to add it to the repository? If so, how? The .deb is located at /home/skyler/swift_0.1_all.deb
 
Old 04-20-2010, 06:07 PM   #4
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Oops, I read too fast.

What happens when you dpkg -i /home/skyler/swift_0.1_all.deb ? dpkg -P?
 
Old 04-22-2010, 06:16 PM   #5
skykooler
Member
 
Registered: Feb 2010
Distribution: Ubuntu
Posts: 90

Original Poster
Rep: Reputation: 17
Quote:
What happens when you dpkg -i /home/skyler/swift_0.1_all.deb ?
Code:
skyler@ubuntu-laptop:~$ sudo dpkg -i /home/skyler/swift_0.1_all.deb 
[sudo] password for skyler: 
Selecting previously deselected package swift.
(Reading database ... 40%
dpkg: warning: files list file for package `swift' missing, assuming package has no files currently installed.
(Reading database ... 280694 files and directories currently installed.)
Preparing to replace swift 0.1 (using /home/skyler/swift_0.1_all.deb) ...
Unpacking replacement swift ...
Setting up swift (0.1) ...

Processing triggers for desktop-file-utils ...
skyler@ubuntu-laptop:~$
Thanks! Everything is fixed now.
 
  


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
Wine Intsall error in Ubuntu-current. broken package? charlie0313 Linux - Software 3 05-14-2008 09:50 PM
LXer: Debian/Ubuntu Package management Using dpkg LXer Syndicated Linux News 0 04-19-2007 09:47 PM
Broken Package Management in Dapper Hitboxx Ubuntu 1 06-13-2006 09:25 PM
Package Management System is Broken Ashex Ubuntu 3 06-09-2006 12:40 AM
FC2 Package Management System - Broken? Harryc Fedora 4 06-03-2004 07:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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