How to backup Packages !

Status
Not open for further replies.

Dark Star

Cyborg Agent
Hey
Can any 1 tell me how to take backup of updates and packages that I Installed so that I can re-install if any mess happens ? Also how to create a .deb file please tell me :)


Regards
 
F

FilledVoid

Guest
AptonCD,
Manual Copy,
DD command
Timevault ?
Theres a few more I think.
 
OP
Dark Star

Dark Star

Cyborg Agent
Ok now what abt .deb :? Also I installed my frnd Ubuntu via Chip DVD [1thing what's there in DVD nothing just a CD nothing else.] also whenever he tried to install anything via apt he is prompted to insert the CD :? Why :?
 

The_Devil_Himself

die blizzard die! D3?
Ok now what abt .deb :? Also I installed my frnd Ubuntu via Chip DVD [1thing what's there in DVD nothing just a CD nothing else.] also whenever he tried to install anything via apt he is prompted to insert the CD :? Why :?

cos that softy is present on that cd.See you can add cd\dvd to synaptic as well,and then it will see wheteher the software you have asked to install is present on any of the cd\dvd you have added and if not then downloads the softy.

its like first local var cache folder,theen cd\dvd, and then finally internet.

This is how it works IMO.
 

praka123

left this forum longback
^just that the cd/dvd repository line is added in ur /etc/apt/sources.list .if u remove the cd/dvd line and do a apt-get update,it will not ask.

for backup's there is already rsync.and regarding creating deb packages means you have to make the source code "debianised" ie,having installation paths,docs(readme's etc) etc well defined.then u may be successful.also,the "newbiedoc" or debian admin guide that can be apt-get install or available online will help.and not to forget,it needs patience and some amount of knowledge in programming. :)

edit found a cool tool :
Undelete files on Linux with GIIS

Imagine you just finished writing an important document with your favorite word processor. You hit save, and turn in for the night, satisfied that everything is fine. Unbeknownst to you, something happens as you slumber. Maybe it's a wayward nephew, maybe it's your cat, but at some point, something or someone deleted your precious file. What do you do?

Rest easy, friend, and take a look at this. Although the author of this app doesn't seem to know how to run SpellCheck, Get It I Say (GIIS) is an invaluable data recovery tool. All you need is a Linux based system and a hard disk partition that uses EXT2 or EXT3.
*www.downloadsquad.com/2007/12/28/undelete-files-on-linux-with-giis/
*sourceforge.net/projects/giis/
*sourceforge.net/project/screenshots.php?group_id=156518
 
Last edited:
A doubt: If one package is dependant on another, and I have both in a single folder(.deb files) then will double clicking one make ubuntu to install its dependancy thats located in the same folder?
 
F

FilledVoid

Guest
Fug it.... When can we ever get a clean methord to get rid of dependency hell? Offline

Well if you have both on your system you could run a command to install both the files at one go if thats what you need. I think the command was sudo dpkg -i *.deb ? I might be wrong with the command. It is given in the Packages Offline thread.
 
F

FilledVoid

Guest
It can be done yaar..If you try to install package A that depends on package B, then if both A and B are in the same directory there would be no issues as B would be automatically be installed.

It can be done yes. But not by double clicking one deb file that is in a folder.
 

praka123

left this forum longback
well @shashwath what error does it says? when the line(s):
Code:
 deb cdrom:[Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071017)]/ gutsy main restricted
is removed and then run sudo apt-get update ,there is no way that the cd error message be shown via apt.
 
Status
Not open for further replies.
Top Bottom