Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Why is Samba a dependency of the Gimp?

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
bozy

Why is Samba a dependency of the Gimp?

#1 Post by bozy »

I wanted to crop an image, and I realized I didn't have the Gimp (recent reinstall). So I did an "aptitude install gimp", and two of the dependencies jumped out at me, samba-common and smbclient. I was just curious if anyone knew why I needed samba to run gimp?

Thanks.

Code: Select all

# aptitude install gimp
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
The following NEW packages will be automatically installed:
  cupsys cupsys-bsd cupsys-client foomatic-db foomatic-db-engine
  foomatic-filters gimp-data gimp-print gimp-svg gs-esp gutenprint-locales
  libcroco3 libcupsimage2 libcupsys2-gnutls10 libgimp2.0 libgnomecanvas2-0
  libgnomecanvas2-common libgnomecups1.0-1 libgnomeprint2.2-0
  libgnomeprint2.2-data libgnomeprintui2.2-0 libgnomeprintui2.2-common
  libgsf-1 libgutenprint2 libgutenprintui2-1 librsvg2-2 librsvg2-bin
  librsvg2-common libwmf0.2-7 samba-common smbclient
The following packages will be automatically REMOVED:
  lpr
The following NEW packages will be installed:
  cupsys cupsys-bsd cupsys-client foomatic-db foomatic-db-engine
  foomatic-filters gimp gimp-data gimp-print gimp-svg gs-esp
  gutenprint-locales libcroco3 libcupsimage2 libcupsys2-gnutls10 libgimp2.0
  libgnomecanvas2-0 libgnomecanvas2-common libgnomecups1.0-1
  libgnomeprint2.2-0 libgnomeprint2.2-data libgnomeprintui2.2-0
  libgnomeprintui2.2-common libgsf-1 libgutenprint2 libgutenprintui2-1
  librsvg2-2 librsvg2-bin librsvg2-common libwmf0.2-7 samba-common
  smbclient
The following packages will be REMOVED:
  lpr
0 packages upgraded, 32 newly installed, 1 to remove and 0 not upgraded.
Need to get 30.3MB of archives. After unpacking 92.0MB will be used.
Do you want to continue? [Y/n/?] n
Abort.

Harold
Posts: 1482
Joined: 2005-01-07 00:15
Been thanked: 3 times

#2 Post by Harold »

Very strange. Please do apt-get update && apt-get dist-upgrade and let's see what happens.

bozy

Here's the output...

#3 Post by bozy »

Here you go...

Code: Select all

# aptitude update && aptitude dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
Get:1 http://mirrors.kernel.org unstable Release.gpg [189B]
Hit http://mirrors.kernel.org unstable Release
Hit http://mirrors.kernel.org unstable/main Packages
Hit http://mirrors.kernel.org unstable/main Sources
Fetched 1B in 0s (1B/s)
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
#
Also here's the contents of my /etc/apt/sources.list...

Code: Select all

deb http://mirrors.kernel.org/debian/ unstable main
deb-src http://mirrors.kernel.org/debian/ unstable main

Harold
Posts: 1482
Joined: 2005-01-07 00:15
Been thanked: 3 times

#4 Post by Harold »

Very strange! I see that you are using the unstable branch; maybe that has something to do with it. Otherwise, I have no explanation of what is going on. Does aptitude install only dependencies, or dependencies and recommended packages? You might want to compare the actions of aptitude install gimp and apt-get install gimp.
Last edited by Harold on 2005-09-25 21:11, edited 1 time in total.

Guest

#5 Post by Guest »

Perhaps it's a problem with aptitude. When I just do an apt-get install gimp, I get a more sane list.

Code: Select all

# apt-get install gimp
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
  gimp-data libgimp2.0 libwmf0.2-7
Suggested packages:
  gimp-help-en gimp-help gimp-python libgimp-perl gimp-data-extras
Recommended packages:
  gimp-svg gimp-print
The following NEW packages will be installed:
  gimp gimp-data libgimp2.0 libwmf0.2-7
0 upgraded, 4 newly installed, 0 to remove and 25 not upgraded.
Need to get 9993kB of archives.
After unpacking 30.5MB of additional disk space will be used.
Do you want to continue [Y/n]? n
Abort.
#
Strange thing when I run aptitude without arguments to get the ncurses based package browser, I don't see those samba packages as dependencies for gimp.

Here's my aptitude version. If someone is running the same version of aptitude perhaps you can see if you get the same thing I do.

Code: Select all

# aptitude --version
aptitude 0.2.15.9 compiled at Aug  5 2005 11:59:19
Compiler: g++ 4.0.2 20050725 (prerelease) (Debian 4.0.1-3)

NCurses version: 5.4
libsigc++ version:

Code: Select all

# apt-get --version
apt 0.6.41 for linux i386 compiled on Sep  5 2005 23:04:11
Supported modules:
*Ver: Standard .deb
*Pkg:  Debian dpkg interface (Priority 30)
 S.L: 'deb' Standard Debian binary tree
 S.L: 'deb-src' Standard Debian source tree
 Idx: Debian Source Index
 Idx: Debian Package Index
 Idx: Debian dpkg status file
#
Thanks.

Harold
Posts: 1482
Joined: 2005-01-07 00:15
Been thanked: 3 times

#6 Post by Harold »

Launch aptitude. On the menu, go to Options / Dependency Handling. Uncheck Install recommended packages automatically. Try aptitude install gimp again.

bozy

That fixed it.

#7 Post by bozy »

Harold, thank you. You were right, I had to uncheck "Install Recommended packages automatically" and "Remove unused packages automatically" in Options->"Dependency handling" before aptitude would give me a sane list. Thank you very much.

By the way, and very off topic, where are you from in Illinois, I'm down in Carbondale myself.

Harold
Posts: 1482
Joined: 2005-01-07 00:15
Been thanked: 3 times

#8 Post by Harold »

Effingham

User avatar
tuxdaemon
Posts: 21
Joined: 2005-09-27 02:14
Location: Southern California
Contact:

Gimp, GnomeVFS, Samba

#9 Post by tuxdaemon »

Might be like GnomeVFS and how tons of programs depend on it because of gnome filesystem browsing functionality. Maybe like smbfs support for saving. Doubt it though. Debian does have a little issue with providing too much along stock. For instance, never do the "Desktop Environment" option on a stock install, unless you are prepared to download around 700mb of binaries and install nearly double that of stuff you'd never use.

Post Reply