Package name in local Debian package repository

Kernels & Hardware, configuring network, installing services

Package name in local Debian package repository

Postby I am a nobody » 2017-03-11 00:36

Hi,

I am setting up a local debian package repository, the purpose is to define three directories of test, stable and release where packages in test would be copied to stable after testing, then use apt-move to copy all packages from test to stable, then to release. One problem is I have a same name of package for example connection.deb which contains server addresses different for test, stable and release. Is possible to set up symbolic links with the same name but point to different names of real packages?
I am a nobody
 
Posts: 39
Joined: 2012-04-13 03:44

Re: Package name in local Debian package repository

Postby margaretH » 2017-03-11 02:03

look into making a boot CD for each distribution version.

every thing on the whole system is subject to change .
Last edited by margaretH on 2017-03-12 03:08, edited 1 time in total.
margaretH
 
Posts: 14
Joined: 2017-01-23 20:22

Re: Package name in local Debian package repository

Postby GarryRicketson » 2017-03-11 02:49

Interesting,
=== edited==
was my comment when I tried typing, 'man apt' and hit the tab key twice
as suggested in the previous post, before it was edited,...

Code: Select all
$ man apt (hit tab key twice)
#gives this:
Display all 9173 possibilities? (y or n)
#if you select yes, it displays a list, on mine
it was 9173 possibilities,...a pretty long list.
Last edited by GarryRicketson on 2017-03-13 12:41, edited 1 time in total.
"What we expect you have already Done"

Before doing anything, read the Debian documentation:
Debian Documentation
How to ask the smart way
Debian Foro Español
======================
For the Birds
User avatar
GarryRicketson
 
Posts: 4353
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Package name in local Debian package repository

Postby stevepusser » 2017-03-11 20:58

If the contents of the package is going to be different between the stable and other releases, I don't think it makes sense for each one to have the exact same versioning. You could try sticking "stable", "testing", and "unstable" into the version strings so there won't be any collision between them.

Now I must go gaze into my navel to try and comprehend what margaretH was trying to say. I'll be back in seven years!
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Krita 3.3.2.1, Pale Moon 27.6.0, Audacity 2.2.0, mpv 0.27.0, Corebird 1.7.1, Firefox 57.0, SMPlayer 17.11.2
User avatar
stevepusser
 
Posts: 8900
Joined: 2009-10-06 05:53

Re: Package name in local Debian package repository

Postby I am a nobody » 2017-03-12 10:54

stevepusser wrote:If the contents of the package is going to be different between the stable and other releases, I don't think it makes sense for each one to have the exact same versioning. You could try sticking "stable", "testing", and "unstable" into the version strings so there won't be any collision between them.


The reason I need the same package name for test, stable and release is for my software development, some devices apt source list can point to test, some can point to stable and some could point to release, all of those have the same package update script which pointing to the same package name, for one configure package particular, it has include different server IP addresses for test, stable or release respectively, I only need to change the source list to enable devices connect to test, stable and release servers for different purposes.

Thank you.
I am a nobody
 
Posts: 39
Joined: 2012-04-13 03:44

Re: Package name in local Debian package repository

Postby phenest » 2017-03-12 12:40

If the source.list is only pointing to 1 of the 3 sections, there should be no conflicts.

You say it's a problem. Are you getting errors, or issues?

stevepusser wrote:try and comprehend what margaretH was trying to say.

I'm not too sure about Garry's response. Pretty vague.
NEC Spirit 550 P4 3.8GHz HT - 2GB RAM - nVidia 7600GT - Pioneer BDR-209DBK
ASUS Sabertooth P67 i7 3770K - 32GB RAM - 2x nVidia 660GTX SLI'd
User avatar
phenest
 
Posts: 1571
Joined: 2010-03-09 09:38
Location: The Matrix

Re: Package name in local Debian package repository

Postby Thorny » 2017-03-13 12:22

I'm not too sure about Garry's response. Pretty vague.

Garry's comment about tab completion made more sense before margaretH edited the post today and took the suggestion out.
Thorny
 
Posts: 338
Joined: 2011-02-27 13:40

Re: Package name in local Debian package repository

Postby phenest » 2017-03-13 18:22

Ah yes, I see now.
NEC Spirit 550 P4 3.8GHz HT - 2GB RAM - nVidia 7600GT - Pioneer BDR-209DBK
ASUS Sabertooth P67 i7 3770K - 32GB RAM - 2x nVidia 660GTX SLI'd
User avatar
phenest
 
Posts: 1571
Joined: 2010-03-09 09:38
Location: The Matrix

Re: Package name in local Debian package repository

Postby I am a nobody » 2017-03-14 00:02

phenest wrote:If the source.list is only pointing to 1 of the 3 sections, there should be no conflicts.

You say it's a problem. Are you getting errors, or issues?


Sorry for not being clear here, my problem is not the client side package update. My problem is the internal structure and process of my local repository, let's say that the config.deb contains server IP address different for test, stable and release. In the following process, I need users / clients only see one common package name config.deb externally in test, stable and release, but that config.deb contains different server IP addresses in test, stable and release. The copy process in repository is automatically by apt commands, There is my question how can I keep two different versions of the config.deb one can be seen internally (config_test.deb, config_stable.deb, config_release.deb) and one can be seen externally (config.deb), then copy / move from internal package names to external package name from test to stable to release?

- Push the config.deb to test repository.
- After initial test, copy all our software packages including config.deb from test to stable
- After testing, copy all our software packages including config.deb from stable to release
I am a nobody
 
Posts: 39
Joined: 2012-04-13 03:44

Re: Package name in local Debian package repository

Postby margaretH » 2017-03-21 22:31

If a person types into a search engine the words ' system programming ' a person could find some free pdf `s to read.
Of the information that i have read is that each architecture ' cpu ' has a different instruction set.
Linux is not created for one and one only CPU and an associated set of hardware components as a proprietary computer OS is created.

Within the Environment that one is working with , the ' CPU and associated components ' one could look at each package`s update information , ' list changes ' .
apt-something list-changes package-name .
margaretH
 
Posts: 14
Joined: 2017-01-23 20:22


Return to System configuration

Who is online

Users browsing this forum: No registered users and 7 guests

fashionable