LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-01-2021, 02:13 PM   #1
dedec0
Senior Member
 
Registered: May 2007
Posts: 1,372

Rep: Reputation: 51
Question Synaptic: source repositores are marked, but i do not find this source


Hello,

I use synaptic to install many things used in my Debian. Mostly, no problems, I use it since several years ago. I have the game cgoban installed, and I want to play with its source. But it does not appear in the search results. Why?

My repositories settings are:

https://images2.imgbox.com/17/63/2YUUojSk_o.png

Please visit the service site which hosts the image for me, in the page for this image:

https://imgbox.com/2YUUojSk


The "-src" ones are marked, but I do not see (at least) the source code for cgoban in the search results. What is the problem?

Eventual question: this computer has no CD/DVD thing, and never had, since I own it. Can I remove those 2 "cdrom:" URI safely from the repository list?

Last edited by dedec0; 01-01-2021 at 02:17 PM.
 
Old 01-02-2021, 07:47 AM   #3
dedec0
Senior Member
 
Registered: May 2007
Posts: 1,372

Original Poster
Rep: Reputation: 51
How did you find?

So, the version installed here has a bug in the configure.in script to cross compile it. Fine, but i want that source. That bug is unimportant for me. Can i download the source with synaptic now, or not? If not, what is the procedure to follow? I prefer to find the source as compiled for Debian, which i installed, instead of the upstream source, which may differ in some important details, sometimes.
 
Old 01-02-2021, 07:52 AM   #4
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,136
Blog Entries: 6

Rep: Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826
Quote:
Fine, but i want that source.
Click on the source link on that page.
https://packages.debian.org/search?s...eywords=cgoban
 
Old 01-02-2021, 08:17 AM   #5
dedec0
Senior Member
 
Registered: May 2007
Posts: 1,372

Original Poster
Rep: Reputation: 51
Thumbs down Not possible with synaptic?

Not possible with synaptic?
 
Old 01-02-2021, 08:22 AM   #6
dedec0
Senior Member
 
Registered: May 2007
Posts: 1,372

Original Poster
Rep: Reputation: 51
Arrow Not learning, this way

Please, teckk, just giving raw answers like this, you do not help me learning what is wrong here, and how to fix it.
 
Old 01-02-2021, 08:50 AM   #7
Guttorm
Senior Member
 
Registered: Dec 2003
Location: Trondheim, Norway
Distribution: Debian and Ubuntu
Posts: 1,453

Rep: Reputation: 446Reputation: 446Reputation: 446Reputation: 446Reputation: 446
Hi

I never downloaded source with Synaptic, is it possible? Try this command:

Code:
apt source cgoban
Does it work or give any error messages?

And yes, you can remove those cdrom entries.
 
1 members found this post helpful.
Old 01-02-2021, 10:42 AM   #8
dedec0
Senior Member
 
Registered: May 2007
Posts: 1,372

Original Poster
Rep: Reputation: 51
Smile

Quote:
Originally Posted by Guttorm View Post
Hi

I never downloaded source with Synaptic, is it possible?
Well, the source "things" are there. Why would they be, if not for eventually downloading sources? And I have a vague memory of seeing source packages also being shown in its results. But I am not sure where this happened. My linux computer life is most the first Ubuntu, a few of its successors, and then Debian, and almost always using Gnome or Gnome based window managers (Mate Desktop, actually, since Gnome 3 was created).

Quote:
Try this command:

Code:
apt source cgoban
Does it work or give any error messages?
It works! And it applies the diff too! And two other things i do not understand what they are:

Code:
$  apt source cgoban
Lendo listas de pacotes... Pronto
Preciso obter 466 kB de arquivos fonte.
Obter:1 http://deb.debian.org/debian stretch/main cgoban
 1.9.14-18 (dsc) [1.643 B]
Obter:2 http://deb.debian.org/debian stretch/main cgoban
 1.9.14-18 (tar) [418 kB]
Obter:3 http://deb.debian.org/debian stretch/main cgoban
 1.9.14-18 (diff) [47,0 kB]
Baixados 466 kB em 1s (400 kB/s) 
dpkg-source: info: extracting cgoban in cgoban-1.9.14
dpkg-source: info: unpacking cgoban_1.9.14.orig.tar.gz
dpkg-source: info: unpacking cgoban_1.9.14-18.debian.tar.xz
dpkg-source: info: applying changes.diff
dpkg-source: info: applying 387209.diff
dpkg-source: info: applying 827684.diff

$
I will download sources with 'apt' only, from now on. Why nobody told me this before? I played with sources many times, but without applying the diffs in the package website (i checked, and they were irrelevant for what i wanted).


I got the source, but this thread is about synaptic, it will remain unsolved, for now. Ok?

Quote:
And yes, you can remove those cdrom entries.
Thank you for all you said. (:

Last edited by dedec0; 01-02-2021 at 10:43 AM.
 
  


Reply

Tags
debian, synaptic



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] find and kill process through lsof marked as deleted procfs Linux - Newbie 5 06-07-2016 11:26 PM
What is this marked in "red"? How to find it? manalisharmabe Linux - Newbie 6 10-12-2011 03:21 PM
[SOLVED] Yum "Package(s) php available, but not installed. No Packages marked for update" devwink Linux - Server 9 03-11-2010 05:00 PM
LXer: SliTaz live CD: small but beautifully marked LXer Syndicated Linux News 0 08-15-2008 03:30 AM
Software Repositores? RedShirt VectorLinux 5 02-23-2006 02:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration