 |
04-12-2007, 02:04 PM
|
#1 (permalink)
|
|
in search of myself
Join Date: Sep 2006
Location: Gurgaon
Posts: 1,720
|
Urgent : Offline installation problem
I have install Ubuntu 7.10 on my friend's system. There is some problem with his network card so can't connect to net. I have all the packages in my pen drive. I copied all of them in /var/cache/apt/archives folder but these are not available to install either through apt or synaptic even refresh/ update.
Plz guys help me its very urgent
__________________
::::::::::::::::::::
Unban Praka123
::::::::::::::::::::
Vista is my Secretary | Mac is my Girlfriend | Linux is my Wife
"Ek Se Mera Kya Hoga" :lol:
|
|
|
|
Advertisements. Register and be a member of the community to get rid of them.
|
|
Advertisement
|
|
04-12-2007, 02:08 PM
|
#2 (permalink)
|
|
left this forum longback
Join Date: Sep 2005
Location: -
Posts: 7,536
|
Re: Urgent : Offline installation problem
^this means ur apt is saying that there are updates available.select the package in synaptic and press CTRL+E for available version.
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
|
|
|
04-12-2007, 02:11 PM
|
#3 (permalink)
|
|
in search of myself
Join Date: Sep 2006
Location: Gurgaon
Posts: 1,720
|
Re: Urgent : Offline installation problem
i want to install vlc, gstreamer, gxine, k3b etc. But these are not listed in synaptic how can i think of pressing CTRL+e
__________________
::::::::::::::::::::
Unban Praka123
::::::::::::::::::::
Vista is my Secretary | Mac is my Girlfriend | Linux is my Wife
"Ek Se Mera Kya Hoga" :lol:
|
|
|
04-12-2007, 02:16 PM
|
#4 (permalink)
|
|
left this forum longback
Join Date: Sep 2005
Location: -
Posts: 7,536
|
Re: Urgent : Offline installation problem
my sugg is u backup /etc/apt/sources.list and then edit it to contain only the orginal cd/dvd line,remove all repositories lines or comment thim with a "#".then run "sudo apt-get update".if done,without errors,u may be able to install ur packages.
else, the only way i can think now is u installing these softwares manually 
ie.,
"sudo dpkg -i /var/cache/apt/archives/urpackagename111_23.deb"
^if the install errors,try installing its dependencies.
and BTW,if ethernet card having no h/w problems,linux can work with most cards.just post the o/p of "lspci -v" from a terminal.
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
|
|
|
04-12-2007, 02:21 PM
|
#5 (permalink)
|
|
in search of myself
Join Date: Sep 2006
Location: Gurgaon
Posts: 1,720
|
Re: Urgent : Offline installation problem
thanks will give it try. I wonder why ubuntu community discourge offline installtion by every possible way
__________________
::::::::::::::::::::
Unban Praka123
::::::::::::::::::::
Vista is my Secretary | Mac is my Girlfriend | Linux is my Wife
"Ek Se Mera Kya Hoga" :lol:
|
|
|
04-12-2007, 02:23 PM
|
#6 (permalink)
|
|
left this forum longback
Join Date: Sep 2005
Location: -
Posts: 7,536
|
Re: Urgent : Offline installation problem
what abt ur lan card?is it having a h/w trouble? as u said it is not working
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
|
|
|
04-12-2007, 02:23 PM
|
#7 (permalink)
|
|
The Devil's Advocate
Join Date: Mar 2006
Location: Masti Ki Paathshaala
Posts: 7,019
|
Re: Urgent : Offline installation problem
^^ does this mean that aptoncd is useless
__________________
"The problem that shows up with the three red lights on the console is a complex interaction with some very complex parts.” - Robbie Bach
http://beingmanan.com
twitter: manan | Last.FM: manan
|
|
|
04-12-2007, 02:24 PM
|
#8 (permalink)
|
|
die blizzard die! D3?
Join Date: Aug 2007
Location: Event horizon
Posts: 2,361
|
Re: Urgent : Offline installation problem
^^of course not I have tried it myself.I dunno whats the problem with cadcrazy.
__________________
Stealing your women and horses since 1843.
|
|
|
04-12-2007, 02:26 PM
|
#9 (permalink)
|
|
in search of myself
Join Date: Sep 2006
Location: Gurgaon
Posts: 1,720
|
Re: Urgent : Offline installation problem
network card has hardware problem.
__________________
::::::::::::::::::::
Unban Praka123
::::::::::::::::::::
Vista is my Secretary | Mac is my Girlfriend | Linux is my Wife
"Ek Se Mera Kya Hoga" :lol:
|
|
|
04-12-2007, 02:26 PM
|
#10 (permalink)
|
|
The Devil's Advocate
Join Date: Mar 2006
Location: Masti Ki Paathshaala
Posts: 7,019
|
Re: Urgent : Offline installation problem
what im asking is what i had earlier ...
make a copy with aptoncd but u wont be able to install if u dont have a net connection pretty much in line with what cad is facing (try it on a different machine devil)
__________________
"The problem that shows up with the three red lights on the console is a complex interaction with some very complex parts.” - Robbie Bach
http://beingmanan.com
twitter: manan | Last.FM: manan
|
|
|
04-12-2007, 02:26 PM
|
#11 (permalink)
|
|
left this forum longback
Join Date: Sep 2005
Location: -
Posts: 7,536
|
Re: Urgent : Offline installation problem
^not exactly.it means if the system was ever connected to internet,apt will store latest update details in /var/lib/dpkg/info/ directory.so,apt will not be able to detest the aptoncd packages.another problem is different versions of critical glibc libray.
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
|
|
|
04-12-2007, 02:28 PM
|
#12 (permalink)
|
|
in search of myself
Join Date: Sep 2006
Location: Gurgaon
Posts: 1,720
|
Re: Urgent : Offline installation problem
Its working on my system but dunno why not working on my friends system
is there any way to add pendrive as apt source list
__________________
::::::::::::::::::::
Unban Praka123
::::::::::::::::::::
Vista is my Secretary | Mac is my Girlfriend | Linux is my Wife
"Ek Se Mera Kya Hoga" :lol:
Last edited by CadCrazy; 04-12-2007 at 02:28 PM.
Reason: Automerged Doublepost
|
|
|
04-12-2007, 02:29 PM
|
#13 (permalink)
|
|
die blizzard die! D3?
Join Date: Aug 2007
Location: Event horizon
Posts: 2,361
|
Re: Urgent : Offline installation problem
@iMav:tried on a different machine mavvy,dint face any problem at all(friend's mc has no internet at all).But I usually prefer copying all the deb files to archives folder.
__________________
Stealing your women and horses since 1843.
|
|
|
04-12-2007, 02:31 PM
|
#14 (permalink)
|
|
in search of myself
Join Date: Sep 2006
Location: Gurgaon
Posts: 1,720
|
Re: Urgent : Offline installation problem
yes copying to archives folder is the best option for me till now
__________________
::::::::::::::::::::
Unban Praka123
::::::::::::::::::::
Vista is my Secretary | Mac is my Girlfriend | Linux is my Wife
"Ek Se Mera Kya Hoga" :lol:
|
|
|
04-12-2007, 02:35 PM
|
#15 (permalink)
|
|
The Devil's Advocate
Join Date: Mar 2006
Location: Masti Ki Paathshaala
Posts: 7,019
|
Re: Urgent : Offline installation problem
^^ hey cad once successful plz post a step by step method of how u got all packages from aptoncd working on ur frenz pc
__________________
"The problem that shows up with the three red lights on the console is a complex interaction with some very complex parts.” - Robbie Bach
http://beingmanan.com
twitter: manan | Last.FM: manan
|
|
|
04-12-2007, 03:32 PM
|
#16 (permalink)
|
|
TheSaint
Join Date: Jun 2004
Location: Antigua
Posts: 3,447
|
Re: Urgent : Offline installation problem
Yes +1@iMav
__________________
http://www.neville.in
http://www.linuxrocks.in
"The Future Is Open"
|
|
|
04-12-2007, 03:49 PM
|
#17 (permalink)
|
|
Who stole my Alpaca!
Join Date: Jan 2005
Location: Kerala
Posts: 2,020
|
Re: Urgent : Offline installation problem
Quote:
|
I have all the packages in my pen drive. I copied all of them in /var/cache/apt/archives folder but these are not available to install either through apt or synaptic even refresh/ update.
|
You don't need aptoncd. As I said earlier its just a convenience if I'm correct.
The first step you want to do is backup your sources.list file. Then you need to add the folder to the sources. To do so read on. If you need an AptOnCd guide Ill be more than happy to post it from my little guide I'm building. Although I don't see why you would need it since your friend hasn't downloaded the AptOnCd package already.
Doing this would should you the man entry for the file. If you scroll down you will see this line.
Code:
file
The file scheme allows an arbitrary directory in the file system to
be considered an archive. This is useful for NFS mounts and local
mirrors or archives.
Check out the examples listed int he man page to help you out further. One of the examples I will post.
Code:
Uses the archive stored locally (or NFS mounted) at /home/jason/debian
for stable/main, stable/contrib, and stable/non-free.
deb file:/home/jason/debian stable main contrib non-free
I believe you should see what you have to do at this point. Please let me know if the above does not work.
__________________
The Ultimate Chess Strategy : "Hit Hard, Hit Fast and Hit Often"
|
|
|
05-12-2007, 01:11 AM
|
#18 (permalink)
|
|
in search of myself
Join Date: Sep 2006
Location: Gurgaon
Posts: 1,720
|
Re: Urgent : Offline installation problem
Thanks. But there's no entry like
deb file:/var/cache/apt/cache in my computer's sources.list but still i am able to install packages through apt or synaptic after copying them there but this method is not working for my friend.The only diff between my and his computer is that my computer once connected to net but his computer never.So i think setting for this thing lies somewhere else which we are not able to hit yet.
__________________
::::::::::::::::::::
Unban Praka123
::::::::::::::::::::
Vista is my Secretary | Mac is my Girlfriend | Linux is my Wife
"Ek Se Mera Kya Hoga" :lol:
Last edited by CadCrazy; 05-12-2007 at 01:34 AM.
|
|
|
05-12-2007, 06:54 AM
|
#19 (permalink)
|
|
Who stole my Alpaca!
Join Date: Jan 2005
Location: Kerala
Posts: 2,020
|
Re: Urgent : Offline installation problem
Quote:
Thanks. But there's no entry like
deb file:/var/cache/apt/cache in my computer's sources.list but still i am able to install packages through apt or synaptic after copying them there but this method is not working for my friend.The only diff between my and his computer is that my computer once connected to net but his computer never.So i think setting for this thing lies somewhere else which we are not able to hit yet.
|
I dont have this entry deb file:/var/cache/apt/cache in my sources list. Just out of curiosity but your friend does see the packages in Synaptic correct? That is the name of the packages are in there yes or no? Cause if they arent most likely you dont have Universe, Multiverse etc selected from the Sources List dialog. Once you do select them to get an updated list you need a net connection though. I might be wrong here so you might want to wait and confirm
__________________
The Ultimate Chess Strategy : "Hit Hard, Hit Fast and Hit Often"
|
|
|
07-12-2007, 01:37 PM
|
#20 (permalink)
|
|
in search of myself
Join Date: Sep 2006
Location: Gurgaon
Posts: 1,720
|
Re: Urgent : Offline installation problem
And finally i got it working.I can't believe its damn easy. No apt-get no synaptic just single command to install all of your software packages. Here s how.
Just copy all your packages to a folder say "software" on desktop or anywhere you find it suitable. now navigate to that folder through command prompt.
Applications -> Accessories -> Terminal
in terminal type
cd /home/cadcrazy/Desktop/software
sudo dpkg -i *.deb
This method will install all the deb packages whether or not all the dependencies are satisfied . So as a result you may get some broken packages chances of which are rare if you back up all your packages in single folder. I got this problem of broken package while installing vlc player. This happened because i backed up packages in different folder on my computer and install from it on my friend's computer and changed the install sequence.
To fix the broken packages type
sudo apt-get install -f
this command will remove the broken packge(s) if any and show you the name of removed package. Now to check the missing package i clicked on vlc package to install it and the packge manager did show me the missing lib which i found in another folder ( in mplayer package folder which i installed before vlc on my computer).Installed both of them and everything worked for me finally.
__________________
::::::::::::::::::::
Unban Praka123
::::::::::::::::::::
Vista is my Secretary | Mac is my Girlfriend | Linux is my Wife
"Ek Se Mera Kya Hoga" :lol:
Last edited by CadCrazy; 07-12-2007 at 02:13 PM.
|
|
|
12-12-2007, 10:09 AM
|
#21 (permalink)
|
|
Alpha Geek
Join Date: Sep 2007
Location: hassan
Posts: 717
|
Re: Urgent : Offline installation problem
^^Thanks CadCrazy  
will try this....
|
|
|
12-12-2007, 02:05 PM
|
#22 (permalink)
|
|
in search of myself
Join Date: Sep 2006
Location: Gurgaon
Posts: 1,720
|
Re: Urgent : Offline installation problem
Welcome buddy
__________________
::::::::::::::::::::
Unban Praka123
::::::::::::::::::::
Vista is my Secretary | Mac is my Girlfriend | Linux is my Wife
"Ek Se Mera Kya Hoga" :lol:
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|