Question about the shadow package in Ubuntu 14.04

Tom H tomh0665 at
Sat Apr 5 11:21:24 UTC 2014

On Sat, Apr 5, 2014 at 6:11 AM, Kevin Wilson <wkevils at> wrote:
> I had installed Ubuntu 14.04 from the Daily Build site:
> After booting, I try to find whether the shadow package is installed by:
> dpkg --get-selections | grep  shadow
> and I see no result.
> According to
> contains these parts:
> login: system login tools
> passwd: change and administer password and group data
> uidmap: programs to help use subuids
> So:
> [~]#dpkg --get-selections | grep  passwd
> passwd install
> [~]#dpkg --get-selections | grep  login
> login install
> But
> [~]#dpkg --get-selections | grep  uidmap
> does not find the uidmap package.
> Also
> apt-get install uidmap
> does not find it.
> and
> #apt-get install shadow
> does not find it.
> I don't understand it:
> Doesn't the "shadow" package exist anymore ? was it separated into three
> packages? (passwd, login, and uidmap)? and why does apt-get instal shadow or
> apt-get install uidmap does not work ?

shadow is the name of source package:

# dpkg-query -W -f='${Package}\t${Version}\t${Source}\n' \* | grep shadow
login   1:      shadow
passwd  1:      shadow
uidmap  1:      shadow

uidmap mustn't be installed on your system so you need to use apt:

# apt-cache show uidmap
Package: uidmap
Priority: optional
Section: admin
Installed-Size: 338
Maintainer: Ubuntu Developers <ubuntu-devel-discuss at>
Original-Maintainer: Shadow package maintainers
<pkg-shadow-devel at>
Architecture: amd64
Source: shadow
Version: 1:
Depends: libc6 (>= 2.7), libselinux1 (>= 1.32)
Filename: pool/main/s/shadow/uidmap_4.1.5.1-1ubuntu9_amd64.deb
Size: 63300
MD5sum: b8ed9f7e3f434fc0d9209d5d54f6d130
SHA1: aedffd1bde72ea12ac1b2b2d695df5324104c857
SHA256: c4181cb921508a8463e9a15efb40987dc85fad414236c41385313cb0d2c0b131
Description: programs to help use subuids
Description-md5: 5a75630915e85aa203a9f7c82c737da4
Origin: Ubuntu
Supported: 5y

uidmap is already installed on my laptop so this is all that I can
output for you:

# apt-get install -s uidmap
Reading package lists... Done
Building dependency tree
Reading state information... Done
uidmap is already the newest version.
uidmap set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

(uidmap is recommended by lxc:)

# aptitude search --disable-columns '?Depends(uidmap)'

# aptitude search --disable-columns '?Recommends(uidmap)'
i A liblxc1 - Linux Containers userspace tools (library)

More information about the ubuntu-users mailing list