Blocked updates?  Topic is solved

Post your Debian questions here.

Blocked updates?

Postby Regulus » July 3rd, 2014, 2:09 am

Hello, i'm not an expert at debian or anything. I'm just wondering why these updates are blocked.

Image

Can anyone shine some light on what is happening here?
Regulus
 
Posts: 5
Joined: July 3rd, 2014, 2:06 am

Re: Blocked updates?

Postby Randicus Draco Albus » July 3rd, 2014, 3:18 am

Can anyone shine some light on what is happening here?

Not without more information. I suggest trying with a terminal.
Code: Select all
#apt-get update && apt-get upgrade
Either the updates will be installed or, if they cannot be, apt will provide a message exlaining why. Software Update and Synaptic can be buggy, whereas the terminal is always reliable.
Klingons are fun, but Romulans are the sexiest women in the galaxy.
User avatar
Randicus Draco Albus
 
Posts: 1497
Joined: September 22nd, 2011, 1:22 pm

Re: Blocked updates?

Postby Regulus » July 3rd, 2014, 3:39 am

Hi, thanks for that, this is what popped up.

Code: Select all
root@DesktopSues:/home/regan# apt-get update && apt-get upgrade
Hit http://ftp.nz.debian.org wheezy Release.gpg
Hit http://ftp.nz.debian.org wheezy-backports Release.gpg
Hit http://ftp.nz.debian.org wheezy-updates Release.gpg
Hit http://ftp.nz.debian.org wheezy Release
Hit http://ftp.nz.debian.org wheezy-backports Release                         
Hit http://ftp.nz.debian.org wheezy-updates Release                           
Hit http://ftp.nz.debian.org wheezy/main Sources                               
Hit http://ftp.nz.debian.org wheezy/main i386 Packages       
Hit http://ftp.nz.debian.org wheezy/contrib i386 Packages   
Hit http://ftp.nz.debian.org wheezy/non-free i386 Packages   
Hit http://ftp.nz.debian.org wheezy/contrib Translation-en   
Hit http://ftp.nz.debian.org wheezy/main Translation-en     
Hit http://ftp.nz.debian.org wheezy/non-free Translation-en 
Hit http://ftp.nz.debian.org wheezy-backports/main i386 Packages/DiffIndex
Hit http://ftp.nz.debian.org wheezy-backports/main Translation-en/DiffIndex
Hit http://ftp.nz.debian.org wheezy-updates/main Sources     
Hit http://ftp.nz.debian.org wheezy-updates/main i386 Packages/DiffIndex
Hit http://ftp.nz.debian.org wheezy-updates/main Translation-en/DiffIndex
Hit http://security.debian.org wheezy/updates Release.gpg   
Hit http://security.debian.org wheezy/updates Release
Hit http://security.debian.org wheezy/updates/main Sources
Hit http://security.debian.org wheezy/updates/main i386 Packages
Hit http://security.debian.org wheezy/updates/main Translation-en
Reading package lists... Done
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages have been kept back:
  libgnutls28 libsmbclient libtevent0 python-samba samba-libs
The following packages will be upgraded:
  dbus dbus-x11 libdbus-1-3
3 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
Need to get 640 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://security.debian.org/ wheezy/updates/main libdbus-1-3 i386 1.6.8-1+deb7u3 [176 kB]
Get:2 http://security.debian.org/ wheezy/updates/main dbus i386 1.6.8-1+deb7u3 [406 kB]
Get:3 http://security.debian.org/ wheezy/updates/main dbus-x11 i386 1.6.8-1+deb7u3 [58.2 kB]
Fetched 640 kB in 3s (174 kB/s)   
Reading changelogs... Done
(Reading database ... 140428 files and directories currently installed.)
Preparing to replace libdbus-1-3:i386 1.6.8-1+deb7u1 (using .../libdbus-1-3_1.6.8-1+deb7u3_i386.deb) ...
Unpacking replacement libdbus-1-3:i386 ...
Preparing to replace dbus 1.6.8-1+deb7u1 (using .../dbus_1.6.8-1+deb7u3_i386.deb) ...
Unpacking replacement dbus ...
Preparing to replace dbus-x11 1.6.8-1+deb7u1 (using .../dbus-x11_1.6.8-1+deb7u3_i386.deb) ...
Unpacking replacement dbus-x11 ...
Processing triggers for man-db ...
Setting up libdbus-1-3:i386 (1.6.8-1+deb7u3) ...
Setting up dbus (1.6.8-1+deb7u3) ...
[ ok ] system message bus already started; not starting..
Setting up dbus-x11 (1.6.8-1+deb7u3) ...
root@DesktopSues:/home/regan# ^C
root@DesktopSues:/home/regan#


So, something is not right here, i'm not sure what all this stuff means. Do the blocked updates have anything to do with the sercurity or anything?

It says "The following packages have been kept back: libgnutls28 libsmbclient libtevent0 python-samba samba-libs". I think these are the blocked updates.

I'm curious as to why they have been kept back?
- What is keeping them back? Is it my end or theirs? How do i find that out? Kept back suggests their end!
- If their end, what is the reason and where can i find the reason?
- If my end, what next?

I'm also curious about the system message bus?

Ok, so i did the command seperately to see what would happen

apt-get update produces the following
Code: Select all
root@DesktopSues:/home/regan# apt-get update
Hit http://ftp.nz.debian.org wheezy Release.gpg
Hit http://ftp.nz.debian.org wheezy-backports Release.gpg                   
Hit http://ftp.nz.debian.org wheezy-updates Release.gpg                     
Hit http://ftp.nz.debian.org wheezy Release                                 
Hit http://ftp.nz.debian.org wheezy-backports Release                         
Hit http://ftp.nz.debian.org wheezy-updates Release                           
Hit http://ftp.nz.debian.org wheezy/main Sources                               
Hit http://ftp.nz.debian.org wheezy/main i386 Packages                         
Hit http://ftp.nz.debian.org wheezy/contrib i386 Packages                   
Hit http://ftp.nz.debian.org wheezy/non-free i386 Packages                   
Hit http://ftp.nz.debian.org wheezy/contrib Translation-en                   
Hit http://ftp.nz.debian.org wheezy/main Translation-en                     
Hit http://ftp.nz.debian.org wheezy/non-free Translation-en
Hit http://ftp.nz.debian.org wheezy-backports/main i386 Packages/DiffIndex
Hit http://ftp.nz.debian.org wheezy-backports/main Translation-en/DiffIndex
Hit http://ftp.nz.debian.org wheezy-updates/main Sources
Hit http://ftp.nz.debian.org wheezy-updates/main i386 Packages/DiffIndex
Hit http://ftp.nz.debian.org wheezy-updates/main Translation-en/DiffIndex
Hit http://security.debian.org wheezy/updates Release.gpg
Hit http://security.debian.org wheezy/updates Release
Hit http://security.debian.org wheezy/updates/main Sources
Hit http://security.debian.org wheezy/updates/main i386 Packages
Hit http://security.debian.org wheezy/updates/main Translation-en
Reading package lists... Done


And apt-get upgrade produces the following
Code: Select all
root@DesktopSues:/home/regan# apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages have been kept back:
  libgnutls28 libsmbclient libtevent0 python-samba samba-libs
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.


So, it's not really about the update, it's the upgrade. I don't really know the difference here.
Regulus
 
Posts: 5
Joined: July 3rd, 2014, 2:06 am

Re: Blocked updates?

Postby allthatisthecase » July 3rd, 2014, 5:34 am

The system never updates packages that require new packages to be installed.
So, it doesn't block them, it just tells you that i won't install them without asking you first.
Sadly, it doesn't ask you directly, hence the confusion.

Instead of

Code: Select all
apt-get upgrade


do

Code: Select all
apt-get dist-upgrade


and it will satisfy the new conditions to update the packages.

CAUTION: In Debian Stable, this works well and is tested. In Testing and Unstable, it might have missing dependencies.
So, as soon as you get a dependency warning, abort it (CTRL and C in the terminal).

Further reading:
http://www.debian.org/doc/manuals/debia ... 02.en.html

EDIT: Something additionally confusing... In Debian, update = update of package cache (lists), while upgrade = actual update of packages or entire system.
allthatisthecase
 
Posts: 279
Joined: May 13th, 2014, 5:39 pm

Re: Blocked updates?

Postby Regulus » July 3rd, 2014, 5:44 am

Thanks allthatisthecase

Code: Select all
root@DesktopSues:/home/regan# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  libgnutls28 libsmbclient libtevent0 python-samba samba-libs
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
root@DesktopSues:/home/regan#


Didn't seem to work, thanks for the further reading too. I'll edit if i find anything more out. I'm also open to any more suggestions of things i can try.
---
libgnutls28 does appear to be about security. - https://packages.debian.org/wheezy-back ... ibgnutls28
"GnuTLS is a portable library which implements the Transport Layer Security (TLS 1.0, 1.1, 1.2) and Secure Sockets Layer (SSL) 3.0 and Datagram Transport Layer Security (DTLS 1.0, 1.2) protocols"

libsmbclient - https://packages.debian.org/wheezy/libsmbclient
This package provides a shared library that enables client applications to talk to Microsoft Windows and Samba servers using the SMB/CIFS protocol.

libtevent0 - https://packages.debian.org/wheezy/libtevent0
tevent is a simple library that can handle the main event loop for an application. It supports three kinds of events: timed events, file descriptors becoming readable or writable and signals.
Talloc is used for memory management, both internally and for private data provided by users of the library.

python-samba - https://packages.debian.org/wheezy/python-samba
Samba is an implementation of the SMB/CIFS protocol for Unix systems, providing support for cross-platform file sharing with Microsoft Windows, OS X, and other Unix systems. Samba can also function as a domain controller or member server in both NT4-style and Active Directory domains.

samba-libs - https://packages.debian.org/wheezy-backports/samba-libs
Samba is an implementation of the SMB/CIFS protocol for Unix systems, providing support for cross-platform file sharing with Microsoft Windows, OS X, and other Unix systems. Samba can also function as a domain controller or member server in both NT4-style and Active Directory domains.

What is the connection between these five packages? Why only these five?

I don't have a windows or a Samba server(i don't think), this is the only computer i have here, not networked.
---
http://en.wikipedia.org/wiki/Transport_Layer_Security
Transport Layer Security (TLS) and its predecessor, Secure Sockets Layer (SSL), are cryptographic protocols designed to provide communication security over the Internet.
Regulus
 
Posts: 5
Joined: July 3rd, 2014, 2:06 am

Re: Blocked updates?

Postby allthatisthecase » July 3rd, 2014, 7:37 am

Well, apt is keeping them back because another dependency is missing. Since you're not using samba anyway, it should all be ok. They will have an update eventually and it will be fixed.

These things should not be happening on stable unless you are mixing repos or doing manual installations. If so, then please take the time and read up on how apt works, it will make life easier.
allthatisthecase
 
Posts: 279
Joined: May 13th, 2014, 5:39 pm

Re: Blocked updates?  Topic is solved

Postby Regulus » July 3rd, 2014, 7:57 am

The only thing i've installed manually is VLC(works fine), and possibly Calibre(a few years ago). Everything seems to be working ok, though i'm the paranoid sort, just hoping it's not compromising my internets. I'm also just curious, though not curious enough to spend weeks trying to figure it out. I'll just do a format and reinstall. Thanks for your help
Regulus
 
Posts: 5
Joined: July 3rd, 2014, 2:06 am

Re: Blocked updates?

Postby allthatisthecase » July 3rd, 2014, 8:49 am

Well, VLC is possibly using Samba since it's also a streaming programme. It makes sense that this would be a dependency.
I'm not sure that reinstalling is actually necessary. The TLS package might be a security risk though, but I'm not sure what it
does exactly.

Also, if you want a more recent VLC, don't just take it from the newer repos like jessie or sid, rather install it from the backports repos
as described here.
Also read up on backports repos here.

Spending 10-15 min to learn about backports is less time consuming than reinstalling Debian (at least for me it would be). :D
allthatisthecase
 
Posts: 279
Joined: May 13th, 2014, 5:39 pm

Re: Blocked updates?

Postby Regulus » July 3rd, 2014, 9:17 am

I'm pretty sure i installed VLC via backports(my version of manual LOL), not from binary. This comp needs a format and reinstall anyway, i got another version of Linux dual boot that i never use just taking up space, and it doesn't take that long to do a format and re-install. I only really use LibreOffice, Calibre and the internet so i don't need all that other stuff.

According to Wikipedia TLS has something to do with internet communications. I know i'm being watched(physical and otherwise), hence the paranoia, they won't discover anything, but i like to make them work for nothing lol, have them waste their time trying to figure out how i do what i do. Thanks for your help anyway allthatisthecase.

http://en.wikipedia.org/wiki/Transport_Layer_Security
Regulus
 
Posts: 5
Joined: July 3rd, 2014, 2:06 am

Re: Blocked updates?

Postby allthatisthecase » July 3rd, 2014, 1:23 pm

This is a good reminder for all of us then that backports needn't necessarily be complete in their dependencies. :)
allthatisthecase
 
Posts: 279
Joined: May 13th, 2014, 5:39 pm


Return to General Questions

Who is online

Users browsing this forum: No registered users and 1 guest

cron

x