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 08-06-2011, 07:56 PM   #1 (permalink)
In The Zone
 
bubusam13's Avatar
 
Join Date: Jan 2011
Location: GUWAHATI
Posts: 432
Default [SOLVED] Ubuntu package installation help


help help help..... i m new to Ubuntu and this has become a headache.

! month ago I installed ubuntu 10.10. Then I downloaded many .deb packages and saved those in my hard disk for future use. Due to some circumstances I have to uninstall ubuntu later.

Now after 3 months I again Installed ubuntu 10.10.
I have gone to system> administration>synaptic package manager > File (menu) > add downloaded packages.
I selected all the packages I have previously saved in my hard disk. I had my Internet disconnected then. After selecting when I apply changes, installation fails.

I now connected my Internet and clicked apply changes. Now synaptic in again downloading the packages from the Internet. But I have already those packages stored in my hard disk.

Even when I double click a deb life, installation fail.

PS: last time i found on internet a guy suggested some changes in "software sources". I forgot what changes but it worked then
__________________
The first step to getting the things you want out of life is this: Decide what you want.
bubusam13 is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 08-06-2011, 08:08 PM   #2 (permalink)
Sami Hyypiä, LFC legend
 
Liverpool_fan's Avatar
 
Join Date: Jun 2007
Location: Нью-Дели
Posts: 2,138
Default Re: Ubuntu package installation help

Is your APT been interrupted? In that case apt-get -f will fix the problem.

If the PC is connected, post the output of any apt-get to debug.

Code:
sudo apt-get install screen
Post the output. Make sure you enclose them in [CODE][/CODE] tags.

For offline installation of packages, check out http://askubuntu.com/questions/974/h...ftware-offline
__________________
Experience true education in Computer Science - http://www.udacity.com | http://www.coursera.org

Spoiler:
Read before asking / messaging any moderator for any query: FAQ + answers for new members

Read all the sticky threads before asking any type of query. Most basic questions are answered in those.
Don't use forum for chatting. Visit http://webchat.freenode.net/?channels=krow, enter nick and connect.
Liverpool_fan is offline  
Old 08-06-2011, 09:46 PM   #3 (permalink)
In The Zone
 
utkarsh009's Avatar
 
Join Date: Oct 2010
Location: Ranchi
Posts: 365
Default Re: Ubuntu package installation help

these steps may help :

1. try sudo apt-get update.
2. next time backup everything in /var/cache/apt. for now you can add those repositories (if other than default) from which you downloaded.
3. it may have unmet dependencies. so you may wanna try downloading the tarball.
__________________
dell p2211h | amd athlon II X4 635 @2.9 GHz. |gigabyte GA-880GM-UD2H |corsair 2x2GB DDR3 1333 MHz. RAM | Seagate 500 GB HDD |tagan tg500-u37|LG Optimus One P500
utkarsh009 is offline  
Old 08-06-2011, 10:15 PM   #4 (permalink)
Alpha Geek
 
Join Date: Jan 2007
Location: In your hearts
Posts: 828
Default Re: Ubuntu package installation help

One of the problems, will be that you may have dependencies, which can only be downloaded from internet through repositories or you may have dependencies which are not present in repositories, post the error message.
abhijangda is offline  
Old 09-06-2011, 02:00 AM   #5 (permalink)
In The Zone
 
bubusam13's Avatar
 
Join Date: Jan 2011
Location: GUWAHATI
Posts: 432
Default Re: Ubuntu package installation help

Quote:
Originally Posted by utkarsh009 View Post
these steps may help :

2. next time backup everything in /var/cache/apt. for now you can add those repositories (if other than default) from which you downloaded.
@all... this is what I have done.... I have backup-ed the complete apt folder. This is the reason I cant understand why installation fails.

E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?



This is what i m getting
__________________
The first step to getting the things you want out of life is this: Decide what you want.
bubusam13 is offline  
Old 09-06-2011, 08:04 AM   #6 (permalink)
Simply a DIGITian
 
krishnandu.sarkar's Avatar
 
Join Date: Nov 2007
Location: Kolkata
Posts: 2,942
Default Re: Ubuntu package installation help

Well, restart your OS.

Alternatively you can do a ps -e and kill the process.
__________________
  • Read The Forum RULES First.
  • Before PM'ing Or Asking Any Questions To Any Mod Read The FAQ's
  • Before Starting A New Thread Read The STICKY THREADS First
  • Before Participating In Bazaar Section Read The BAZAAR RULES
krishnandu.sarkar is offline  
Old 09-06-2011, 08:28 AM   #7 (permalink)
In The Zone
 
utkarsh009's Avatar
 
Join Date: Oct 2010
Location: Ranchi
Posts: 365
Default Re: Ubuntu package installation help

Quote:
Originally Posted by krishnandu.sarkar View Post
Well, restart your OS.

Alternatively you can do a ps -e and kill the process.
+1 restart your os
__________________
dell p2211h | amd athlon II X4 635 @2.9 GHz. |gigabyte GA-880GM-UD2H |corsair 2x2GB DDR3 1333 MHz. RAM | Seagate 500 GB HDD |tagan tg500-u37|LG Optimus One P500
utkarsh009 is offline  
Old 09-06-2011, 11:51 AM   #8 (permalink)
In The Zone
 
bubusam13's Avatar
 
Join Date: Jan 2011
Location: GUWAHATI
Posts: 432
Default Re: Ubuntu package installation help

I just solve it.
On terminal I typed
sudo apt-get update

Took some seconds to update and solved... don't know whats actually happened but it solved
__________________
The first step to getting the things you want out of life is this: Decide what you want.
bubusam13 is offline  
Old 09-06-2011, 12:19 PM   #9 (permalink)
In The Zone
 
utkarsh009's Avatar
 
Join Date: Oct 2010
Location: Ranchi
Posts: 365
Default Re: Ubuntu package installation help

@op: yup i already told you that. maybe you didn't pay attention to my words. anyways i am glad i was able to help.
__________________
dell p2211h | amd athlon II X4 635 @2.9 GHz. |gigabyte GA-880GM-UD2H |corsair 2x2GB DDR3 1333 MHz. RAM | Seagate 500 GB HDD |tagan tg500-u37|LG Optimus One P500
utkarsh009 is offline  
Old 09-06-2011, 12:35 PM   #10 (permalink)
In The Zone
 
bubusam13's Avatar
 
Join Date: Jan 2011
Location: GUWAHATI
Posts: 432
Default Re: Ubuntu package installation help

I paied much attention to your second line. I reloaded info in synaptic package manager. I thaught it will do? anyway, can u tell me what this actually does, apt-get update. what apt-get is ?
Quote:
next time backup everything in /var/cache/apt. for now you can add those repositories (if other than default) from which you downloaded.
__________________
The first step to getting the things you want out of life is this: Decide what you want.
bubusam13 is offline  
Old 09-06-2011, 12:38 PM   #11 (permalink)
Simply a DIGITian
 
krishnandu.sarkar's Avatar
 
Join Date: Nov 2007
Location: Kolkata
Posts: 2,942
Default Re: Ubuntu package installation help

aptitude is the package manager, apt-get is same.

apt-get update updates the repository and fetch if any update is available on installed apps.
__________________
  • Read The Forum RULES First.
  • Before PM'ing Or Asking Any Questions To Any Mod Read The FAQ's
  • Before Starting A New Thread Read The STICKY THREADS First
  • Before Participating In Bazaar Section Read The BAZAAR RULES
krishnandu.sarkar is offline  
Old 09-06-2011, 12:42 PM   #12 (permalink)
In The Zone
 
bubusam13's Avatar
 
Join Date: Jan 2011
Location: GUWAHATI
Posts: 432
Default Re: Ubuntu package installation help

Thanku
__________________
The first step to getting the things you want out of life is this: Decide what you want.
bubusam13 is offline  
Old 09-06-2011, 12:52 PM   #13 (permalink)
Simply a DIGITian
 
krishnandu.sarkar's Avatar
 
Join Date: Nov 2007
Location: Kolkata
Posts: 2,942
Default Re: Ubuntu package installation help

No sorry, apt-get update just updates the repository, apt-get upgrade does the update

Silly mistake.
__________________
  • Read The Forum RULES First.
  • Before PM'ing Or Asking Any Questions To Any Mod Read The FAQ's
  • Before Starting A New Thread Read The STICKY THREADS First
  • Before Participating In Bazaar Section Read The BAZAAR RULES
krishnandu.sarkar is offline  
Old 09-06-2011, 02:27 PM   #14 (permalink)
Mozilla Rep
 
sygeek's Avatar
 
Join Date: Apr 2011
Location: Lucknow
Posts: 1,470
Default Re: Ubuntu package installation help

Quote:
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
Happens when a process is using apt-get in the background. In your case, it was the synaptic package manager, but it failed.

Either you can kill the process PID, the synaptic package manager in this case.
OR
Use this command:
Quote:
sudo rm /var/lib/dpkg/lock

To install a deb package use this command in the terminal:
Quote:
sudo dpkg -a ~/package/path

Last edited by sygeek; 09-06-2011 at 02:32 PM.
sygeek is online now  
Old 09-06-2011, 04:13 PM   #15 (permalink)
In The Zone
 
bubusam13's Avatar
 
Join Date: Jan 2011
Location: GUWAHATI
Posts: 432
Default Re: Ubuntu package installation help

Thanku all for sharing your knowledge. i'm bookmarking this page
__________________
The first step to getting the things you want out of life is this: Decide what you want.
bubusam13 is offline  
Old 09-06-2011, 04:15 PM   #16 (permalink)
Simply a DIGITian
 
krishnandu.sarkar's Avatar
 
Join Date: Nov 2007
Location: Kolkata
Posts: 2,942
Default Re: Ubuntu package installation help

Ok, closing and marking it as [SOLVED]
__________________
  • Read The Forum RULES First.
  • Before PM'ing Or Asking Any Questions To Any Mod Read The FAQ's
  • Before Starting A New Thread Read The STICKY THREADS First
  • Before Participating In Bazaar Section Read The BAZAAR RULES
krishnandu.sarkar 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


 
Latest Threads
- by Charan
- by Charan
- by clmlbx

Advertisement




All times are GMT +5.5. The time now is 02:36 AM.


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

Search Engine Optimization by vBSEO 3.3.2