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
problem with synaptic package manager SOLVED
problem with synaptic package manager SOLVED
hello!
at first pardon me for my weak english..........
i installed Debian 9.5.0 on my laptop.... by dvd1 downloaded Debian'site.... but at first it installed on my flash bootable ....
then when i install package at synaptic package manager say insert dvd1.......
why???????? what i doing with problem????
at first pardon me for my weak english..........
i installed Debian 9.5.0 on my laptop.... by dvd1 downloaded Debian'site.... but at first it installed on my flash bootable ....
then when i install package at synaptic package manager say insert dvd1.......
why???????? what i doing with problem????
Last edited by mehdi4970 on 2018-09-28 19:40, edited 3 times in total.
-
- Emeritus
- Posts: 2435
- Joined: 2010-12-07 19:55
- Has thanked: 14 times
- Been thanked: 54 times
Re: problem whit synaptic package manager
Because you have the DVD listed as a Repository in your sources list.
What does your sources list say?
What does your sources list say?
Re: problem whit synaptic package manager
thank you
that say insert dvd1 but it writed in my flash bootable........
but how i insert usb in list source....
what i doing that synaptic package manager install programs with my flash bootable ....
my flash bootable have Debian 9.5.0 of dvd1 ......
that say insert dvd1 but it writed in my flash bootable........
but how i insert usb in list source....
what i doing that synaptic package manager install programs with my flash bootable ....
my flash bootable have Debian 9.5.0 of dvd1 ......
-
- Posts: 1100
- Joined: 2016-01-07 12:25
- Has thanked: 5 times
- Been thanked: 16 times
Re: problem with synaptic package manager
You need to edit your /etc/apt/sources.list file and comment out or remove the line(s) that refer to your DVD, after you have done this save it and run apt update (as root or with sudo) and you should then be able to install packages from the normal repositories (provided you have them entered in your sources.list file).
If you do not have the correct entries in your sources.list file you can check the Debian Wiki as it has some examples for you.
If you do not have the correct entries in your sources.list file you can check the Debian Wiki as it has some examples for you.
Re: problem with synaptic package manager
thank you very much......
but i don't know what write in my list source that synaptic reads my address' flash.....
i don't know what write at it ......
my problem this is.......
[img]file:///home/a/Desktop/Screenshot_2018-09-26_11-02-03.png
[/img]
but i don't know what write in my list source that synaptic reads my address' flash.....
i don't know what write at it ......
my problem this is.......
[img]file:///home/a/Desktop/Screenshot_2018-09-26_11-02-03.png
[/img]
- None1975
- df -h | participant
- Posts: 1389
- Joined: 2015-11-29 18:23
- Location: Russia, Kaliningrad
- Has thanked: 45 times
- Been thanked: 66 times
Re: problem with synaptic package manager
Here is an excerpt from Debian wikimehdi4970 wrote:but i don't know what write in my list source that synaptic reads my address' flash.....
i don't know what write at it ......
Below is an example of a sources.list for Debian 9/Stretch.
Code: Select all
deb http://deb.debian.org/debian stretch main
deb-src http://deb.debian.org/debian stretch main
deb http://deb.debian.org/debian-security/ stretch/updates main
deb-src http://deb.debian.org/debian-security/ stretch/updates main
deb http://deb.debian.org/debian stretch-updates main
deb-src http://deb.debian.org/debian stretch-updates main
Code: Select all
/etc/apt/sources.list
Code: Select all
apt update
OS: Debian 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github
Debian Wiki | DontBreakDebian, My config files on github
Re: problem with synaptic package manager
thank you very much....
i do it that works you told me but negative.......
let me explain better:
1- i download dvd1 debian 9.5.0.....
2- i write that iso on me flash with this command (ls -l /dev/disk/by-id/*usb)
3- i install Debian 9.5.0 with my usb
4- in synapyic package manager when i will install program ... told me : insert dvd 1....but dvd1 writed in my usb
5- i know that i can write that iso on one dvd writable but usb is faster...
6- pardon me ..... exactly... i must what address in my repository in setting==repositories==other software==add==apt
7- this is my sources.list :
#
# deb cdrom:[Debian GNU/Linux 9.5.0 _Stretch_ - Official amd64 DVD Binary-1 20180714-10:25]/ stretch contrib main
deb cdrom:[Debian GNU/Linux 9.5.0 _Stretch_ - Official amd64 DVD Binary-1 20180714-10:25]/ stretch contrib main
# Line commented out by installer because it failed to verify:
# deb http://security.debian.org/debian-security stretch/updates main contrib
# Line commented out by installer because it failed to verify:
# deb-src http://security.debian.org/debian-security stretch/updates main contrib
# stretch-updates, previously known as 'volatile'
# A network mirror was not selected during install. The following entries
# are provided as examples, but you should amend them as appropriate
# for your mirror of choice.
#
# deb http://deb.debian.org/debian/ stretch-updates main contrib
# deb-src http://deb.debian.org/debian/ stretch main
# deb-src http://deb.debian.org/debian/ stretch-updates main contrib
8- i erase # for commands be free in lines but negative too.....
thank you very much
i do it that works you told me but negative.......
let me explain better:
1- i download dvd1 debian 9.5.0.....
2- i write that iso on me flash with this command (ls -l /dev/disk/by-id/*usb)
3- i install Debian 9.5.0 with my usb
4- in synapyic package manager when i will install program ... told me : insert dvd 1....but dvd1 writed in my usb
5- i know that i can write that iso on one dvd writable but usb is faster...
6- pardon me ..... exactly... i must what address in my repository in setting==repositories==other software==add==apt
7- this is my sources.list :
#
# deb cdrom:[Debian GNU/Linux 9.5.0 _Stretch_ - Official amd64 DVD Binary-1 20180714-10:25]/ stretch contrib main
deb cdrom:[Debian GNU/Linux 9.5.0 _Stretch_ - Official amd64 DVD Binary-1 20180714-10:25]/ stretch contrib main
# Line commented out by installer because it failed to verify:
# deb http://security.debian.org/debian-security stretch/updates main contrib
# Line commented out by installer because it failed to verify:
# deb-src http://security.debian.org/debian-security stretch/updates main contrib
# stretch-updates, previously known as 'volatile'
# A network mirror was not selected during install. The following entries
# are provided as examples, but you should amend them as appropriate
# for your mirror of choice.
#
# deb http://deb.debian.org/debian/ stretch-updates main contrib
# deb-src http://deb.debian.org/debian/ stretch main
# deb-src http://deb.debian.org/debian/ stretch-updates main contrib
8- i erase # for commands be free in lines but negative too.....
thank you very much
Re: problem with synaptic package manager
the reason you are asked for the CD is this line:
change your /etc/apt/sources.list to:
run this in terminal afterwards:
this is the only line without # in front.deb cdrom:[Debian GNU/Linux 9.5.0 _Stretch_ - Official amd64 DVD Binary-1 20180714-10:25]/ stretch contrib main
change your /etc/apt/sources.list to:
Code: Select all
deb http://deb.debian.org/debian stretch main contrib non-free
deb http://deb.debian.org/debian-security/ stretch/updates main contrib non-free
deb http://deb.debian.org/debian stretch-updates main contrib non-free
Code: Select all
sudo apt-get update
Debian 10 - Buster on Compulab Fitlet2
Debian 12 - Bookworm on Acer Spin 1
Debian 12 - Bookworm on Acer Spin 1
Re: problem with synaptic package manager
thank you my friend
but with this lines that you told me there isn't nothing for install....
sorry..... this way is negative
and then command: apt update======> terminal told me:
Err:1 http://deb.debian.org/debian stretch InRelease
Could not resolve 'deb.debian.org'
Err:2 http://deb.debian.org/debian-security stretch/updates InRelease
Could not resolve 'deb.debian.org'
Err:3 http://deb.debian.org/debian stretch-updates InRelease
Could not resolve 'deb.debian.org'
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
W: Failed to fetch http://deb.debian.org/debian/dists/stretch/InRelease Could not resolve 'deb.debian.org'
W: Failed to fetch http://deb.debian.org/debian-security/d ... /InRelease Could not resolve 'deb.debian.org'
W: Failed to fetch http://deb.debian.org/debian/dists/stre ... /InRelease Could not resolve 'deb.debian.org'
W: Some index files failed to download. They have been ignored, or old ones used instead.
thank you very much
but with this lines that you told me there isn't nothing for install....
sorry..... this way is negative
and then command: apt update======> terminal told me:
Err:1 http://deb.debian.org/debian stretch InRelease
Could not resolve 'deb.debian.org'
Err:2 http://deb.debian.org/debian-security stretch/updates InRelease
Could not resolve 'deb.debian.org'
Err:3 http://deb.debian.org/debian stretch-updates InRelease
Could not resolve 'deb.debian.org'
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
W: Failed to fetch http://deb.debian.org/debian/dists/stretch/InRelease Could not resolve 'deb.debian.org'
W: Failed to fetch http://deb.debian.org/debian-security/d ... /InRelease Could not resolve 'deb.debian.org'
W: Failed to fetch http://deb.debian.org/debian/dists/stre ... /InRelease Could not resolve 'deb.debian.org'
W: Some index files failed to download. They have been ignored, or old ones used instead.
thank you very much
-
- Posts: 1100
- Joined: 2016-01-07 12:25
- Has thanked: 5 times
- Been thanked: 16 times
Re: problem with synaptic package manager
thank you very much my friend....
you ok and its work but it is only for update by net....
i want only install few package of my flash bootable only offline and only only only on my flash no dvd and no net
thank you very much
you ok and its work but it is only for update by net....
i want only install few package of my flash bootable only offline and only only only on my flash no dvd and no net
thank you very much
-
- Posts: 1100
- Joined: 2016-01-07 12:25
- Has thanked: 5 times
- Been thanked: 16 times
Re: problem with synaptic package manager
In that case you could edit your sources list and put the dvd line back in (or un-comment it) and comment out the online repositories, leaving just this...
and then when synaptics package manager (or apt/aptitude etc) ask for DVD you can simply insert your flash drive (USB stick) and it should read from it.
Just a note though that you will be limited to packages that are contained in that particular DVD and so will not have access to a lot of what Debian has to offer.
Code: Select all
deb cdrom:[Debian GNU/Linux 9.5.0 _Stretch_ - Official amd64 DVD Binary-1 20180714-10:25]/ stretch contrib main
Just a note though that you will be limited to packages that are contained in that particular DVD and so will not have access to a lot of what Debian has to offer.
Re: problem with synaptic package manager
do you think, you will get all available packages installed, when you change /etc/apt/sources.list as suggested ??mehdi4970 wrote:thank you very much my friend....
you ok and its work but it is only for update by net....
i want only install few package of my flash bootable only offline and only only only on my flash no dvd and no net
thank you very much
this is not so, you will only download a list of what is available.
from that list you can choose to install only the packages you want.
Debian 10 - Buster on Compulab Fitlet2
Debian 12 - Bookworm on Acer Spin 1
Debian 12 - Bookworm on Acer Spin 1
Re: problem with synaptic package manager
dear Dai_trying ....
your solution isn't work....
dear fred44nl.......
by download dvd 1&2&3 debian we can have all package for install
by download only dvd 1 ,too......
but my problem is that synaptic for install package goes to dvd1 or net..... i want synaptic go to me flash ( bootable usb )...
thank you very much
your solution isn't work....
dear fred44nl.......
by download dvd 1&2&3 debian we can have all package for install
by download only dvd 1 ,too......
but my problem is that synaptic for install package goes to dvd1 or net..... i want synaptic go to me flash ( bootable usb )...
thank you very much
-
- Posts: 1100
- Joined: 2016-01-07 12:25
- Has thanked: 5 times
- Been thanked: 16 times
Re: problem with synaptic package manager
Did you perform apt update (as root) after changing your sources.lst? You could also click reload from the synaptic GUI to perform this function.mehdi4970 wrote:dear Dai_trying ....
your solution isn't work....
If you go to settings->repositories it should tell you the available repositories, you should only have the DVD ticked and if there are more then remove the tick from the box next to it then click OK and then click on reload from the synaptic GUI.mehdi4970 wrote:but my problem is that synaptic for install package goes to dvd1 or net..... i want synaptic go to me flash ( bootable usb )...
This should allow you to install from the DVD image on your USB device but as has already been said it will not hold all the packages you may want.
To add the other DVD images use synaptics -> Edit -> Add CD-ROM
Re: problem with synaptic package manager
dear friend
yes i do it works.....but add cd-rom======>not work (no exept usb)
thank you very much
yes i do it works.....but add cd-rom======>not work (no exept usb)
thank you very much
-
- Posts: 1100
- Joined: 2016-01-07 12:25
- Has thanked: 5 times
- Been thanked: 16 times
Re: problem with synaptic package manager
Sorry I hadn't used the add-cdrom option in a long time and forgot it was just for physical cd-rom/dvd media, it is possible to either
1.) add the images by mounting them as loop devices (in fstab) and then adding them on the command line (man apt-cdrom will give you best guide)
or
2.) add them from their usb stick to fstab, but that would mean they need to be physically plugged in to the machine and so would likely not be the desired effect.
1.) add the images by mounting them as loop devices (in fstab) and then adding them on the command line (man apt-cdrom will give you best guide)
or
2.) add them from their usb stick to fstab, but that would mean they need to be physically plugged in to the machine and so would likely not be the desired effect.
Re: problem with synaptic package manager
thank you very much.....
however i must write ISO dvd1 Debian into DVD for now.....
however i must write ISO dvd1 Debian into DVD for now.....
-
- Posts: 1100
- Joined: 2016-01-07 12:25
- Has thanked: 5 times
- Been thanked: 16 times
Re: problem with synaptic package manager
If you write all the images to a DVD disc then you should be able to use the add-cdrom option in synaptic, but if it fails for some reason check the settings, I seem to recall being able to set the cdrom drive (may need to set it to sr0 for DVD but not sure).
Re: problem with synaptic package manager
thank yyou veryy very much....
my probblem solved for now...
thank you
my probblem solved for now...
thank you