[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#764982: apt-setup-udeb: Backports via d-i, but not by default



Joey Hess <joeyh@debian.org> (2014-10-12):
> Cyril Brulebois wrote:
> > Ah, yes. I remember having wondered about that when installing jessie
> > on a new machine. I'm not particularly happy about being able to pull
> > packages from backports without any kind of manual action.
> 
> apt won't install newer versions from backports
> unless the user explicitly specifies -t $suite-backports
> 
> Or, IIRC, unless the currently installed version came from backports
> already and an upgrade is available in backports.

The upgradability is indeed the result of this combination:
  NotAutomatic: yes
  ButAutomaticUpgrades: yes

> I don't see a problem with making backports be available by default,
> as long as the user has to explicitly tell apt they want to use them.

Neither would I, if that were true.

But apt will happily install packages from backports if they're not
available in the base suite, without the need for a -t $foo:
| root@wodi:/# cat /etc/apt/sources.list
| deb http://localhost/debian wheezy main
| deb http://localhost/debian wheezy-backports main
| root@wodi:/# apt-get update
| Hit http://localhost wheezy Release.gpg
| Get:1 http://localhost wheezy-backports Release.gpg [836 B]
| Hit http://localhost wheezy Release  
| Get:2 http://localhost wheezy-backports Release [147 kB]
| Hit http://localhost wheezy/main amd64 Packages         
| Get:3 http://localhost wheezy/main Translation-en [3847 kB]
| Get:4 http://localhost wheezy-backports/main amd64 Packages [538 kB]
| Get:5 http://localhost wheezy-backports/main Translation-en [333 kB]
| Fetched 4866 kB in 0s (5085 kB/s)                                     
| Reading package lists... Done
| root@wodi:/# apt-get install zmap
| Reading package lists... Done
| Building dependency tree... Done
| The following extra packages will be installed:
|   libgmp10 libhiredis0.10 libjson-c2 libpcap0.8
| The following NEW packages will be installed:
|   libgmp10 libhiredis0.10 libjson-c2 libpcap0.8 zmap
| 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
| Need to get 525 kB of archives.
| After this operation, 1218 kB of additional disk space will be used.
| Do you want to continue [Y/n]? 
| Get:1 http://localhost/debian/ wheezy/main libgmp10 amd64 2:5.0.5+dfsg-2 [250 kB]
| Get:2 http://localhost/debian/ wheezy/main libhiredis0.10 amd64 0.10.1-7 [23.7 kB]
| Get:3 http://localhost/debian/ wheezy/main libpcap0.8 amd64 1.3.0-1 [142 kB]
| Get:4 http://localhost/debian/ wheezy-backports/main libjson-c2 amd64 0.11-3~bpo7+1 [27.9 kB]
| Get:5 http://localhost/debian/ wheezy-backports/main zmap amd64 1.2.0-1~bpo70+1 [81.3 kB]
| Fetched 525 kB in 0s (5133 kB/s)
| perl: warning: Setting locale failed.
| perl: warning: Please check that your locale settings:
| 	LANGUAGE = "en_GB:en",
| 	LC_ALL = (unset),
| 	LANG = "en_GB.UTF-8"
|     are supported and installed on your system.
| perl: warning: Falling back to the standard locale ("C").
| locale: Cannot set LC_CTYPE to default locale: No such file or directory
| locale: Cannot set LC_MESSAGES to default locale: No such file or directory
| locale: Cannot set LC_ALL to default locale: No such file or directory
| Can not write log, openpty() failed (/dev/pts not mounted?)
| Selecting previously unselected package libgmp10:amd64.
| (Reading database ... 9301 files and directories currently installed.)
| Unpacking libgmp10:amd64 (from .../libgmp10_2%3a5.0.5+dfsg-2_amd64.deb) ...
| Selecting previously unselected package libhiredis0.10:amd64.
| Unpacking libhiredis0.10:amd64 (from .../libhiredis0.10_0.10.1-7_amd64.deb) ...
| Selecting previously unselected package libpcap0.8:amd64.
| Unpacking libpcap0.8:amd64 (from .../libpcap0.8_1.3.0-1_amd64.deb) ...
| Selecting previously unselected package libjson-c2:amd64.
| Unpacking libjson-c2:amd64 (from .../libjson-c2_0.11-3~bpo7+1_amd64.deb) ...
| Selecting previously unselected package zmap.
| Unpacking zmap (from .../zmap_1.2.0-1~bpo70+1_amd64.deb) ...
| Processing triggers for man-db ...
| locale: Cannot set LC_CTYPE to default locale: No such file or directory
| locale: Cannot set LC_MESSAGES to default locale: No such file or directory
| locale: Cannot set LC_ALL to default locale: No such file or directory
| Can not write log, openpty() failed (/dev/pts not mounted?)
| Setting up libgmp10:amd64 (2:5.0.5+dfsg-2) ...
| Setting up libhiredis0.10:amd64 (0.10.1-7) ...
| Setting up libpcap0.8:amd64 (1.3.0-1) ...
| Setting up libjson-c2:amd64 (0.11-3~bpo7+1) ...
| Setting up zmap (1.2.0-1~bpo70+1) ...

Mraw,
KiBi.

Attachment: signature.asc
Description: Digital signature


Reply to: