stretch-backports vs stretch-updates

2017-10-04 Thread Victor Porton
I want my upgrades to get both from stretch-backports and stretch-updates.

How to configure apt to get both?

What should be /etc/apt/apt.conf and /etc/apt/preferences?

-- 
Victor Porton - http://portonvictor.org



Re: Why stretch-backports does not work for kate package?

2017-10-02 Thread Victor Porton
Alexander V. Makartsev wrote:

> Better fix that "FrankenDebian" first.
> Please read and understand this useful article:
> https://wiki.debian.org/DontBreakDebian

It is not a problem for me, because I use "APT::Default-Release stretch;" in 
apt.conf. This makes to install from stretch by default. It works just fine.

> On 02.10.2017 15:53, Victor Porton wrote:
>> $ cat /etc/apt/sources.list
>> deb http://httpredir.debian.org/debian/ stretch main contrib non-free
>> deb http://httpredir.debian.org/debian/ stretch-backports main contrib
>> non-free deb http://httpredir.debian.org/debian/ buster main contrib
>> non-free deb http://httpredir.debian.org/debian/ sid main contrib
>> non-free deb http://httpredir.debian.org/debian/ stretch-updates main
>> contrib non-free deb http://security.debian.org/ stretch/updates main
>> contrib non-free
>>
>> deb-src http://httpredir.debian.org/debian/ stretch main contrib non-free
>> deb-src http://httpredir.debian.org/debian/ stretch-backports main
>> contrib non-free deb-src http://httpredir.debian.org/debian/ buster main
>> contrib non-free deb-src http://httpredir.debian.org/debian/ sid main
>> contrib non-free deb-src http://httpredir.debian.org/debian/
>> stretch-updates main contrib non-free deb-src http://security.debian.org/
>> stretch/updates main contrib non-free
>>
>> $ sudo apt -t=stretch-backports install kate
>>
-- 
Victor Porton - http://portonvictor.org



Why stretch-backports does not work for kate package?

2017-10-02 Thread Victor Porton
Backports is meant to install a package using old libs.

Why does it not work for kate?

# cat /etc/apt/apt.conf
Acquire::http::Proxy "";
Acquire::ftp::Proxy "";

APT::Default-Release stretch;

$ cat /etc/apt/sources.list
deb http://httpredir.debian.org/debian/ stretch main contrib non-free
deb http://httpredir.debian.org/debian/ stretch-backports main contrib non-free
deb http://httpredir.debian.org/debian/ buster main contrib non-free
deb http://httpredir.debian.org/debian/ sid main contrib non-free
deb http://httpredir.debian.org/debian/ stretch-updates main contrib non-free
deb http://security.debian.org/ stretch/updates main contrib non-free

deb-src http://httpredir.debian.org/debian/ stretch main contrib non-free
deb-src http://httpredir.debian.org/debian/ stretch-backports main contrib 
non-free
deb-src http://httpredir.debian.org/debian/ buster main contrib non-free
deb-src http://httpredir.debian.org/debian/ sid main contrib non-free
deb-src http://httpredir.debian.org/debian/ stretch-updates main contrib 
non-free
deb-src http://security.debian.org/ stretch/updates main contrib non-free

$ sudo apt -t=stretch-backports install kate
Reading package lists... Done
Building dependency tree   
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 kate : Depends: ktexteditor-katepart but it is not going to be installed
Depends: plasma-framework but it is not going to be installed
Depends: qml-module-org-kde-kquickcontrolsaddons but it is not going to 
be installed
Depends: qml-module-qtquick-layouts but it is not going to be installed
Depends: qml-module-qtquick2 but it is not going to be installed
Depends: kio but it is not going to be installed
Depends: libkf5bookmarks5 (>= 4.96.0) but it is not going to be 
installed
Depends: libkf5completion5 (>= 4.97.0) but it is not going to be 
installed
Depends: libkf5configgui5 (>= 4.97.0) but it is not going to be 
installed
Depends: libkf5configwidgets5 (>= 4.98.0) but it is not going to be 
installed
Depends: libkf5crash5 (>= 5.15.0) but it is not going to be installed
Depends: libkf5dbusaddons5 (>= 4.97.0) but it is not going to be 
installed
Depends: libkf5guiaddons5 (>= 4.96.0) but it is not going to be 
installed
Depends: libkf5iconthemes5 (>= 4.96.0) but it is not going to be 
installed
Depends: libkf5jobwidgets5 (>= 4.96.0) but it is not going to be 
installed
Depends: libkf5kiocore5 (>= 4.96.0) but it is not going to be installed
Depends: libkf5kiofilewidgets5 (>= 4.96.0) but it is not going to be 
installed
Depends: libkf5kiowidgets5 (>= 5.5.0+git20150101.0309+15.04) but it is 
not going to be installed
Depends: libkf5newstuff5 (>= 5.27.0) but it is not going to be installed
Depends: libkf5parts5 (>= 4.96.0) but it is not going to be installed
Depends: libkf5plasma5 (>= 4.96.0) but it is not going to be installed
Depends: libkf5service-bin but it is not going to be installed
Depends: libkf5service5 (>= 4.96.0) but it is not going to be installed
Depends: libkf5texteditor5 but it is not going to be installed
Depends: libkf5textwidgets5 (>= 5.0.0) but it is not going to be 
installed
Depends: libkf5wallet-bin but it is not going to be installed
Depends: libkf5wallet5 (>= 4.96.0) but it is not going to be installed
Depends: libkf5widgetsaddons5 (>= 4.96.0) but it is not going to be 
installed
Depends: libkf5windowsystem5 (>= 4.96.0) but it is not going to be 
installed
Depends: libkf5xmlgui5 (>= 4.98.0) but it is not going to be installed
Depends: libqt5gui5 (>= 5.7.0) but it is not going to be installed
Depends: libqt5widgets5 (>= 5.6.0~beta) but it is not going to be 
installed
E: Unable to correct problems, you have held broken packages.

-- 
Victor Porton - http://portonvictor.org



Re: Free TCP/IP port numbers?

2017-10-01 Thread Victor Porton
Victor Porton wrote:

> We are going to install a range of software on a Debian Linux
> installation. Because we run the same software (such as Celery) several
> times, we need to use port numbers different than the standard Debian port
> numbers chosen by default (because we can't run more than one instance of
> a server with the same port, and thus using the standard port number for
> all servers would fail).
> 
> How to choose TCP/IP port numbers for server software we run in such a way
> that they don't clash with "standard" Debian port numbers?
> 
> In Debian are there any ranges of port numbers dedicated (so that they
> wouldn't clash with "standard" that is used by default port numbers) for
> servers configured by users?
> 
> Note that we run (at least some of) our software not as root, so we can't
> use ports below 1024.

I received no satisfactory answer.

So I feel that there is no Debian policy on using port numbers.

This policy should be added to Debian!

It may be something like: "Debian packages (with default configuration) are 
allowed to bind ports 1-1. Ports 10001-32000 are available for users."

Please discuss.

-- 
Victor Porton - http://portonvictor.org



Re: Free TCP/IP port numbers?

2017-09-30 Thread Victor Porton
Alexander V. Makartsev wrote:

> There is official list of all registered port numbers:
> https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.txt
> 
> You can choose any port that is not in the list, to be sure they won't
> clash.

The list of port numbers you pointed to me is a subset (or at least not a 
superset) of the full list used by Debian packages.

Assuring that my port is not in this IANA list is not enough to ensure that 
my port number will not clash with a port number used by a Debian package 
(by default).

So your answer to my question is wrong.

> On 01.10.2017 06:04, Victor Porton wrote:
>> We are going to install a range of software on a Debian Linux
>> installation. Because we run the same software (such as Celery) several
>> times, we need to use port numbers different than the standard Debian
>> port numbers chosen by default (because we can't run more than one
>> instance of a server with the same port, and thus using the standard port
>> number for all servers would fail).
>>
>> How to choose TCP/IP port numbers for server software we run in such a
>> way that they don't clash with "standard" Debian port numbers?
>>
>> In Debian are there any ranges of port numbers dedicated (so that they
>> wouldn't clash with "standard" that is used by default port numbers) for
>> servers configured by users?
>>
>> Note that we run (at least some of) our software not as root, so we can't
>> use ports below 1024.

-- 
Victor Porton - http://portonvictor.org



Free TCP/IP port numbers?

2017-09-30 Thread Victor Porton
We are going to install a range of software on a Debian Linux installation. 
Because we run the same software (such as Celery) several times, we need to 
use port numbers different than the standard Debian port numbers chosen by 
default (because we can't run more than one instance of a server with the 
same port, and thus using the standard port number for all servers would 
fail).

How to choose TCP/IP port numbers for server software we run in such a way 
that they don't clash with "standard" Debian port numbers?

In Debian are there any ranges of port numbers dedicated (so that they 
wouldn't clash with "standard" that is used by default port numbers) for 
servers configured by users?

Note that we run (at least some of) our software not as root, so we can't 
use ports below 1024.

-- 
Victor Porton - http://portonvictor.org



How often to reboot a production Web server?

2013-03-06 Thread Victor Porton
I've setup a VPS based on Debian 6 yesterday.

Today I've run `apt-get update` and `apt-get upgrade` to get security fixes.

It updated libc6 and some other essential packages.

Should I reboot my production Web server? If yes, how often?

-- 
Victor Porton - http://portonvictor.org


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/327621362615...@web6f.yandex.ru