Logo 
Search:

Unix / Linux / Ubuntu Forum

Ask Question   UnAnswered
Home » Forum » Unix / Linux / Ubuntu       RSS Feeds

Update Question Ubuntu 7.10

  Date: Dec 31    Category: Unix / Linux / Ubuntu    Views: 393
  

I have a dual boot system at work which I can't put on the internal network,
is there a specific place that update files are stored when downloaded that I
can copy and install similar to a local repository??

Share: 

 

5 Answers Found

 
Answer #1    Answered On: Dec 31    

do you mean where updated packages are kept ?
look into /var/cache/apt/archives/

 
Answer #2    Answered On: Dec 31    

For a list of all of the files that are installed, you can check in
the .list files located in /var/lib/dpkg/info. Note: the .list files
also contain directory names, so it is not a list of files only in
terms of absolute pathnames from the '/' directory.

If you know the date when an update has been applied, you can simply
do an ls -lt *.list command to list the .list files that have been
applied since a certain date.

One thing you can then do, is construct a script to filter out the
directory names leaving only absolute path names of all of the files
in a particular .list and combine the results into a file.

Then with that combined file, assuming the update was incremental for
a particular piece of software, you could do the following as root:
# cd /
# tar -cf /root/update.tar `cat combined-files.list`

The tar command would feed all of the combined files absolute
pathnames from the updated files combined .list, as input into the
tarball file. Then you could compress the tarball with either gzip or
bzip2 to get respectively, either update.tar.gz or update.tar.bz2.
Note: ignore the fact that tar will drop the leading '/' in an output
message from the tar command.

Then you would simply need to transport the compressed file over to
the host that cannot be put onto the network, and then uncompress, and
then extract with the tar command, again as root, from the '/' directory.

 
Answer #3    Answered On: Dec 31    

Thanks to both of you guys for the info, I am going to give it a try in a
while (just got in from work).
Does this also hold true for packages that you install?
I would think so, but probably in another directory, correct?

 
Answer #4    Answered On: Dec 31    

I think this problem would occur with Ubuntu as well so I hope ths isn't
OT (being a Kubuntu question).
I recently re-installed Kubuntu 7.10 (gutsy gibbon) after running 7.04
very happily. The reason I re-installed and didn't just upgrade is
because I started using the 64bit program as I now have an AMD 64 athlon
based computer. I have two problems (meanwhile :-) ) that I can't solve.

1. When adding a program OR downloading upgrades I get the following
message (during the installation process).
"There was a problem commiting changes. Possibly there was a problem
downloading some packages or the commit would break packages."
The programs or upgrades APPEAR to work after this message but I have no
idea how to prevent this message or what it means.

2. The other problem occurs as far as I can see ONLY in my e-mail. I use
(and have always used) Thunderbird. When receiving hyperlinks in an
email correspondence I cannot click on the hyperlink and go to the site
mentioned. Nothing happens when clicking on the hyperlink. The browser
(Firefox in my case) doesn't open or react to the hyperlink click. To
make the hyperlink work I have to manually open Firefox and then copy
and paste the hyperlink. When clicking on hyperlinks within the browser
they do open the clicked site. This problem (as I said) only occurs from
within my e-mail although I must admit I didn't create a hyperliunk in
OOo and try it.
As I am now at work that experiment will have to wait until I get home.
Hope somebody can help with these two problems.

 
Answer #5    Answered On: Dec 31    

I did an update, then an install of XFBURN so I could burn the updates to a
cdrw and bring in to update my no-network machine. The d/l file for install
showed up in the same directory, hopefully with the dependancy's.
I did an erase of a cdrw, and am burning the files now, will see how that
goes and then may try a usb stick next time.
Again, thanks for the help!!!

 
Didn't find what you were looking for? Find more on Update Question Ubuntu 7.10 Or get search suggestion and latest updates.




Tagged: