DIGIT-ARC read-only archive · snapshot: July 23, 2026

How to backup Packages !

28 posts · originally from https://geek.digit.in/community/threads/how-to-backup-packages.76726/

Dark Star
Dark Star Original post #1
Dec 27, 2007 at 8:23 AM
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
Pat
Pat #2
Dec 27, 2007 at 10:27 AM
Errr..AptOnCD ? or manually copy stuff from /var/cache/apt/ !
F
FilledVoid #3
Dec 27, 2007 at 10:41 AM
AptonCD,
Manual Copy,
DD command
Timevault ?
Theres a few more I think.
Dark Star
Dec 28, 2007 at 10:57 PM
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 :?
Dark Star
Dec 28, 2007 at 10:58 PM
But this message did not come when I installed via Ubuntu or Digit media :?
The_Devil_Himself
Dec 29, 2007 at 12:24 AM
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
Dec 29, 2007 at 12:24 AM
^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
blueshift
Dec 29, 2007 at 8:09 AM
Thanks. I too wanted to know.
will have a look at it later.
MetalheadGautham
Dec 29, 2007 at 2:23 PM
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?
praka123
praka123 #10
Dec 29, 2007 at 3:24 PM
^NO!
F
FilledVoid #12
Dec 30, 2007 at 1:04 AM
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.
praka123
praka123 #13
Dec 30, 2007 at 1:35 AM
well,FYI,even a deb can be installed without satisfying its dependencies ;) :D
Pat
Pat #14
Dec 30, 2007 at 10:44 AM

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.
F
FilledVoid #15
Dec 30, 2007 at 12:52 PM
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.
MetalheadGautham
Dec 30, 2007 at 6:09 PM
^^such simple implementable features still not here. Waiting for Hardy.
Dark Star
Dark Star #17
Dec 30, 2007 at 8:32 PM
I added the repo. but that Cd error is still there :X darn it :x
ChaiTan3
ChaiTan3 #18
Dec 30, 2007 at 11:55 PM
^^
In the Repositories section in synaptic uncheck the cd
Dark Star
Dark Star #19
Dec 31, 2007 at 8:51 AM
^^ arey I know naa but error still thre :x
praka123
praka123 #20
Dec 31, 2007 at 9:06 AM
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.
Dark Star
Dark Star #21
Dec 31, 2007 at 9:26 AM
That fixes the erro for now. >Also I install Adobe player but still its is not loading flash files in Web Browser .. when I installed Gnash it loads few files but not all :x any idea how to fix that >> I installed Adobe Flash nearly 10 times but same it did not load anything of flash :X
praka123
praka123 #22
Dec 31, 2007 at 9:37 AM
download flash.zip from adobe site.extract "libflashplayer.so" into ur /home/user/Desktop.now open a terminal and do below commands and try:
Code:
sudo mv ~/Desktop/libflashplayer.so /usr/lib/mozilla/plugins
Code:
sudo ln -s /usr/lib/mozilla/plugins/libflashplayer.so /usr/lib/firefox/plugins/
now restart firefox or mozilla based browsers and in address bar,type:
"about:plugins" to verify that latest plugin is installed :)
Dark Star
Dark Star #23
Dec 31, 2007 at 9:49 PM
I tried installing Ubuntu in my frnd PC and ended up in this error via Liv CD even Text based install didn't worked.. How to solve it.. He has 845 Board
etc/gdm | failsage Xserver:line 47: :[:too many arguments warning could not retrieve edid because edid is not installed]


download flash.zip from adobe site.extract "libflashplayer.so" into ur /home/user/Desktop.now open a terminal and do below commands and try:
Code:
sudo mv ~/Desktop/libflashplayer.so /usr/lib/mozilla/plugins
Code:
sudo ln -s /usr/lib/mozilla/plugins/libflashplayer.so /usr/lib/firefox/plugins/
now restart firefox or mozilla based browsers and in address bar,type:
"about:plugins" to verify that latest plugin is installed :)

Tussi gr8 ho paaji . Simple gr8 :D
praka123
praka123 #24
Dec 31, 2007 at 11:11 PM
^make sure read-edid installed!
mediator
mediator #25
Jan 1, 2008 at 3:33 AM
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
*www.thinkdigit.com/forum/showpost.php?p=579696&postcount=19
Dark Star
Dark Star #26
Jan 1, 2008 at 8:19 AM
^make sure read-edid installed!
But I didn't got that error using same Cd and how to over come this error ? there isn't any other messsage how to read edid ?:confused:
praka123
praka123 #27
Jan 1, 2008 at 1:55 PM
Code:
sudo apt-get update && sudo apt-get install read-edid
now,
Code:
sudo dpkg-reconfigure debconf
^select "medium"
Code:
 sudo cp /etc/X11/xorg.conf /etc/X11/xorgbacked

Code:
sudo dpkg-reconfigure xserver-xorg
^select options acc to urdisplay hardware get ur monitor detected.else enter the horizontal and vertical freq manually.
also,post the section "device" from ur /etc/X11/xorg.conf here.
Dark Star
Dark Star #28
Jan 1, 2008 at 4:53 PM
^^Err how can I that in a system where Ive to do fresh install :? btw I as successful in bootin through Live Cd but the installation hanged at 82% [configuring apt scanning from mirror] :(