Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Need help deleting the apt scr file please
-
- Posts: 14
- Joined: 2005-06-25 08:55
Need help deleting the apt scr file please
I have been trying to upgrade Sarge, from testing to stable
The apt src folder/area is cluttered with junk files that need to be deleted to make room for the upgrade I need to know if there is a root command that will delete the unnecessary files that are in the apt src area so I can replace them with the lines pasted below to update the source.list from testing to stable.
#Stable Sarge
deb http://http.us.debian.org/debian/ stable main contrib non-free
#Stable (Sarge) Sources
deb-src http://http.us.debian.org/debian/ stable main contrib non-free
#Security Updates Stable
deb http://security.debian.org/ stable/updates main contrib non-free
Please help I been at this for days and don't know what else to do
The apt src folder/area is cluttered with junk files that need to be deleted to make room for the upgrade I need to know if there is a root command that will delete the unnecessary files that are in the apt src area so I can replace them with the lines pasted below to update the source.list from testing to stable.
#Stable Sarge
deb http://http.us.debian.org/debian/ stable main contrib non-free
#Stable (Sarge) Sources
deb-src http://http.us.debian.org/debian/ stable main contrib non-free
#Security Updates Stable
deb http://security.debian.org/ stable/updates main contrib non-free
Please help I been at this for days and don't know what else to do
Dd
Re: Need help deleting the apt scr file please
What is "apt src folder/area"?
The sarge line you should have in /etc/apt/sources.list is:
#Stable Sarge
deb http://http.us.debian.org/debian/ stable main contrib non-free
#Stable (Sarge) Sources
deb-src http://http.us.debian.org/debian/ stable main contrib non-free
#Security Updates Stable
deb http://security.debian.org/ stable/updates main contrib non-free
The sarge line you should have in /etc/apt/sources.list is:
#Stable Sarge
deb http://http.us.debian.org/debian/ stable main contrib non-free
#Stable (Sarge) Sources
deb-src http://http.us.debian.org/debian/ stable main contrib non-free
#Security Updates Stable
deb http://security.debian.org/ stable/updates main contrib non-free
Re: Need help deleting the apt scr file please
As root:Debian_ Disciple wrote:I have been trying to upgrade Sarge, from testing to stable
The apt src folder/area is cluttered with junk files that need to be deleted to make room for the upgrade I need to know if there is a root command that will delete the unnecessary files that are in the apt src area so I can replace them
Change to the /etc/apt directory and backup your sources.list file.
# cd /etc/apt
# cp sources.list sources.back
As root, open your sources.list file in your text editor and add your sources for sarge.
Or, you can simply overwrite your sources.list file with just the sarge sources by pasting into an xterm:
Code: Select all
echo "#Stable Sarge
deb http://http.us.debian.org/debian/ stable main contrib non-free
#Stable (Sarge) Sources
deb-src http://http.us.debian.org/debian/ stable main contrib non-free
#Security Updates Stable
deb http://security.debian.org/ stable/updates main contrib non-free
"> sources.list
# apt-get update
# apt-get dist-upgrade
After you have upgraded you can cleanup with:
# apt-get clean
If you mess anything up you can copy your backup file.
-Bob
Debian Sys Admin
http://www.tldp.org/LDP/sag/html/index.html
http://www.tldp.org/LDP/sag/html/index.html
-
- Posts: 14
- Joined: 2005-06-25 08:55
Thanks for the replies opened gedit as root then erased the old data and replaced it with the lines that are posted below this paragraph
echo "#Stable Sarge
deb http://http.us.debian.org/debian/ stable main contrib non-free
#Stable (Sarge) Sources
deb-src http://http.us.debian.org/debian/ stable main contrib non-free
#Security Updates Stable
deb http://security.debian.org/ stable/updates main contrib non-free
"> sources.list
After that I did the apt-gets' then opened synaptic manager then received this error message
The following problems were found on your system:
E: Type 'echo' is not known on line 1 in source list /etc/apt/sources.list
E: The list of sources could not be read.
Go to the repository dialog to correct the problem
Thanks for the replies I been at this for days nothing seems to work
echo "#Stable Sarge
deb http://http.us.debian.org/debian/ stable main contrib non-free
#Stable (Sarge) Sources
deb-src http://http.us.debian.org/debian/ stable main contrib non-free
#Security Updates Stable
deb http://security.debian.org/ stable/updates main contrib non-free
"> sources.list
After that I did the apt-gets' then opened synaptic manager then received this error message
The following problems were found on your system:
E: Type 'echo' is not known on line 1 in source list /etc/apt/sources.list
E: The list of sources could not be read.
Go to the repository dialog to correct the problem
Thanks for the replies I been at this for days nothing seems to work
Dd
As root, open your sources.list file in an editor and remove the parts I marked in redDebian_ Disciple wrote: echo "#Stable Sarge
deb http://http.us.debian.org/debian/ stable main contrib non-free
#Stable (Sarge) Sources
deb-src http://http.us.debian.org/debian/ stable main contrib non-free
#Security Updates Stable
deb http://security.debian.org/ stable/updates main contrib non-free
"> sources.list
After you save your changes, you need to do an update. Make sure that you have an internet connection running. Start an xterm, and su to root. Then do the command:
# apt-get update
This command will create a new list of packages that are available in the addresses in your sources.list file. If you get any errors from this command, please let us know.
-Bob
Debian Sys Admin
http://www.tldp.org/LDP/sag/html/index.html
http://www.tldp.org/LDP/sag/html/index.html
-
- Posts: 14
- Joined: 2005-06-25 08:55
Thanks for the replies I opened the text editor ( gedit) with the su command then saved the code that is posted below this paragraph in the file that says source.list
#Stable Sarge
deb http://http.us.debian.org/debian/ stable main contrib non-free
#Stable (Sarge) Sources
deb-src http://http.us.debian.org/debian/ stable main contrib non-free
#Security Updates Stable
deb http://security.debian.org/ stable/updates main contrib non-free
After that, I clicked on the synaptic manager, then highlighted repositories everything was in place. I didn't receive any error messages with the code that is posted above."
So I exited the terminal and opened up synaptic manager, again then clicked on the reload tab then choose smart update the system proceeded to download the updates, after that I clicked mark all upgrades, Now here's the part I don't get. For some reason or another the apply tab was grayed out, so I could not apply the updates.
I tried dist-update as well as a few other commands then went back to update the system but still no go the apply tab was still grayed out. I'm most certain that the problem is minor. I'm just glad that everything is in place. Now all I need to do is find out how to get the apply tab to apply the upgrade then I'll be set.
Thanks for the replies this is really helping me out allot I'm almost there Lol
#Stable Sarge
deb http://http.us.debian.org/debian/ stable main contrib non-free
#Stable (Sarge) Sources
deb-src http://http.us.debian.org/debian/ stable main contrib non-free
#Security Updates Stable
deb http://security.debian.org/ stable/updates main contrib non-free
After that, I clicked on the synaptic manager, then highlighted repositories everything was in place. I didn't receive any error messages with the code that is posted above."
So I exited the terminal and opened up synaptic manager, again then clicked on the reload tab then choose smart update the system proceeded to download the updates, after that I clicked mark all upgrades, Now here's the part I don't get. For some reason or another the apply tab was grayed out, so I could not apply the updates.
I tried dist-update as well as a few other commands then went back to update the system but still no go the apply tab was still grayed out. I'm most certain that the problem is minor. I'm just glad that everything is in place. Now all I need to do is find out how to get the apply tab to apply the upgrade then I'll be set.
I don't know what that means maybe that is the reason why apt-get update didn't respond then bought me back to my user name with a # in front it.dawgie Start an xterm, and su to root
Thanks for the replies this is really helping me out allot I'm almost there Lol
Dd
-
- Posts: 14
- Joined: 2005-06-25 08:55
I tried everything , don't know what else do
The updates are downloading however I'm not able to apply them because the apply tab is grayed out I would assume that there would be a bunch of new updates seeing how I just upgraded from testing to stable I'm more worried about the security updates then the rest
Any suggestions on what to do
The updates are downloading however I'm not able to apply them because the apply tab is grayed out I would assume that there would be a bunch of new updates seeing how I just upgraded from testing to stable I'm more worried about the security updates then the rest
Any suggestions on what to do
Dd
you need to start a terminal session then type su (for superuser ) at the prompt enter your root password then at the next prompt type when that is done at the next prompt type
Code: Select all
apt-get update
Code: Select all
apt-get dist-upgrade
-
- Posts: 14
- Joined: 2005-06-25 08:55
username@linux:~$ su
Password:
linux:/home/username# apt-get update
Hit http://http.us.debian.org stable/main Packages
Hit http://http.us.debian.org stable/main Release
Hit http://http.us.debian.org stable/contrib Packages
Hit http://http.us.debian.org stable/contrib Release
Hit http://http.us.debian.org stable/non-free Packages
Hit http://http.us.debian.org stable/non-free Release
Hit http://http.us.debian.org stable/main Sources
Hit http://http.us.debian.org stable/main Release
Hit http://http.us.debian.org stable/contrib Sources
Hit http://http.us.debian.org stable/contrib Release
Hit http://security.debian.org stable/updates/main Packages
Hit http://security.debian.org stable/updates/main Release
Hit http://security.debian.org stable/updates/contrib Packages
Hit http://security.debian.org stable/updates/contrib Release
Hit http://security.debian.org stable/updates/non-free Packages
Hit http://security.debian.org stable/updates/non-free Release
Hit http://http.us.debian.org stable/non-free Sources
Hit http://http.us.debian.org stable/non-free Release
Reading Package Lists... Done
linux:/home/username# apt-get dist-upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
Calculating Upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
linux:/home/username#
Thanks for the replies I already tried that the apply tab is still grayed out
I open the synaptic manager then hit the reload tab, smart upgrade and then a message informed me that 18 of 18 .. um packages were downloading, after everything finished downloading I hit the tab that says mark all upgrades but for some reason or another the apply tab is grayed out and will not allow me to apply the upgrades. I get the error message that is posted above after doing an apt-get update and then a apt-get upgrade.
I don't know what else to do
Password:
linux:/home/username# apt-get update
Hit http://http.us.debian.org stable/main Packages
Hit http://http.us.debian.org stable/main Release
Hit http://http.us.debian.org stable/contrib Packages
Hit http://http.us.debian.org stable/contrib Release
Hit http://http.us.debian.org stable/non-free Packages
Hit http://http.us.debian.org stable/non-free Release
Hit http://http.us.debian.org stable/main Sources
Hit http://http.us.debian.org stable/main Release
Hit http://http.us.debian.org stable/contrib Sources
Hit http://http.us.debian.org stable/contrib Release
Hit http://security.debian.org stable/updates/main Packages
Hit http://security.debian.org stable/updates/main Release
Hit http://security.debian.org stable/updates/contrib Packages
Hit http://security.debian.org stable/updates/contrib Release
Hit http://security.debian.org stable/updates/non-free Packages
Hit http://security.debian.org stable/updates/non-free Release
Hit http://http.us.debian.org stable/non-free Sources
Hit http://http.us.debian.org stable/non-free Release
Reading Package Lists... Done
linux:/home/username# apt-get dist-upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
Calculating Upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
linux:/home/username#
Thanks for the replies I already tried that the apply tab is still grayed out
I open the synaptic manager then hit the reload tab, smart upgrade and then a message informed me that 18 of 18 .. um packages were downloading, after everything finished downloading I hit the tab that says mark all upgrades but for some reason or another the apply tab is grayed out and will not allow me to apply the upgrades. I get the error message that is posted above after doing an apt-get update and then a apt-get upgrade.
I don't know what else to do
Dd
-
- Posts: 14
- Joined: 2005-06-25 08:55
I think the problem is that your going backward. If I understand your first post correctly you are trying to UPGRADE from testing to stable? Testing is the newer unstable version, that's why it's called testing. Stable is the old testing version that has had all the bugs worked. So if you had testing already loaded there won't be any upgrades from the stable tree.
-
- Posts: 14
- Joined: 2005-06-25 08:55
I want to upgrade to the newest version the version with the latest security updates, I'm guessing that the best version to choose for a home computer would be Stable I also noticed that Debian has been having problems with updates , I purchased All 14 installation CD-S directly from Debian All 14 CD-S are marked with the Debian logo none of the Install CD-S that were used to install Debian are boot legged, they're the real deal.
just wish I could get these updates to apply Stable appears to be loaded just can't get the updates to apply the changes
http://lists.debian.org/debian-devel-an ... 00003.html
just wish I could get these updates to apply Stable appears to be loaded just can't get the updates to apply the changes
http://lists.debian.org/debian-devel-an ... 00003.html
Dd
Ok let's try again
when you update your sources synaptic will say updating and now downloading ---- this means it is updating the SOURCES List
when you update your sources synaptic will say updating and now downloading ---- this means it is updating the SOURCES List
That means that after updating your sources synaptic did not find any updates and/or upgrades for your system. Your system is already fully updated.[/quote]linux:/home/username# apt-get dist-upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
Calculating Upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
linux:/home/username#
-
- Posts: 14
- Joined: 2005-06-25 08:55
Wow thanks for the info
I just find it unusual that synaptic manager didn't find any new updates after the system was upgraded that's strange... Not even one security update one would assume there would be at least one , maybe two new updates after Sarge was Finally made stable. I think it's a Bug
I just find it unusual that synaptic manager didn't find any new updates after the system was upgraded that's strange... Not even one security update one would assume there would be at least one , maybe two new updates after Sarge was Finally made stable. I think it's a Bug
Dd