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

Bug#225602: apt: apt-get: encoding problems (when displaying strings)?



Package: apt
Version: 0.5.17
Severity: normal

: tfheen@yiwaz ~ > apt-get update
E: Kunne ikke �pne l�sfil /var/lib/apt/lists/lock - open (13 Ikke tilgang)
E: Ute av stand til � l�se listemappen
: tfheen@yiwaz ~ > locale   
LANG=no_NO
LC_CTYPE="no_NO"
LC_NUMERIC="no_NO"
LC_TIME="no_NO"
LC_COLLATE="no_NO"
LC_MONETARY="no_NO"
LC_MESSAGES="no_NO"
LC_PAPER="no_NO"
LC_NAME="no_NO"
LC_ADDRESS="no_NO"
LC_TELEPHONE="no_NO"
LC_MEASUREMENT="no_NO"
LC_IDENTIFICATION="no_NO"
LC_ALL=
: tfheen@yiwaz ~ > 

So, apt does something weird with the strings it outputs -- the
abovementioned message should have read

E: Kunne ikke åpne låsfil /var/lib/apt/lists/lock - open (13 Ikke tilgang)
E: Ute av stand til å låse listemappen

When running with LANG unset, everything is fine:

: tfheen@yiwaz ~ > LANG= apt-get update
E: Could not open lock file /var/lib/apt/lists/lock - open (13 Permission denied)
E: Unable to lock the list directory
: tfheen@yiwaz ~ > 

(Yes, I'm not root, but that shouldn't matter on the output encoding :)

-- Package-specific info:

-- apt-config dump --

APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Cache-Limit "104857600";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::userstatus "status.user";
Dir::State::status "/var/lib/dpkg/status";
Dir::Cache "var/cache/apt/";
Dir::Cache::archives "archives/";
Dir::Cache::srcpkgcache "srcpkgcache.bin";
Dir::Cache::pkgcache "pkgcache.bin";
Dir::Etc "etc/apt/";
Dir::Etc::sourcelist "sources.list";
Dir::Etc::vendorlist "vendors.list";
Dir::Etc::vendorparts "vendors.list.d";
Dir::Etc::main "apt.conf";
Dir::Etc::parts "apt.conf.d";
Dir::Etc::preferences "preferences";
Dir::Bin "";
Dir::Bin::methods "/usr/lib/apt/methods";
Dir::Bin::dpkg "/usr/bin/dpkg";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "if dpkg -s apt-listbugs | grep -q 'Status: install ok installed'; then /usr/sbin/apt-listbugs -I -l -g -H misato.debian.or.jp --indexdir=/~taru/apt-listbugs/ --pin-priority=1000 apt; fi";
DPkg::Pre-Install-Pkgs:: "/usr/bin/apt-listchanges --apt || test $? -ne 10";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
DPkg::Tools "";
DPkg::Tools::Options "";
DPkg::Tools::Options::/usr/bin/apt-listchanges "";
DPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2";

-- (no /etc/apt/preferences present) --


-- /etc/apt/sources.list --


# deb http://ftp.sunsite.dk/pub/languages/java/java-linux/debian unstable non-free
deb http://www.tux.org/pub/java/debian sid main non-free
deb http://ftp.se.debian.org/debian unstable main contrib non-free
deb http://ftp.se.debian.org/debian-non-US testing/non-US main contrib non-free
deb http://ftp.se.debian.org/debian testing main contrib non-free
deb http://ftp.se.debian.org/debian-non-US unstable/non-US main contrib non-free
deb http://ftp.se.debian.org/debian ../project/experimental main contrib non-free

deb-src http://ftp.se.debian.org/debian unstable main contrib non-free
deb-src http://ftp.se.debian.org/debian-non-US testing/non-US main contrib non-free

deb http://ftp.se.debian.org/debian stable main contrib non-free
deb http://security.debian.org/ stable/updates main contrib non-free
deb http://raw.no/opera sid non-free 

#deb http://marillat.free.fr/ unstable main

#deb http://mirror.raw.no/ gnome2.2/

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux yiwaz 2.6.0 #8 Thu Dec 25 19:01:53 CET 2003 i686
Locale: LANG=no_NO, LC_CTYPE=no_NO

Versions of packages apt depends on:
ii  libc6                    2.3.2.ds1-10    GNU C Library: Shared libraries an
ii  libgcc1                  1:3.3.3-0pre0.1 GCC support library
ii  libstdc++5               1:3.3.3-0pre0.1 The GNU Standard C++ Library v3

-- no debconf information


-- 
Tollef Fog Heen                                                        ,''`.
UNIX is user friendly, it's just picky about who its friends are      : :' :
                                                                      `. `' 
                                                                        `-  



Reply to: