Bug#626573: installation-reports: Broken package after upgrade to squeeze ; php5-mcrypt still depends on libltdl3
Package: installation-reports Severity: important -- Package-specific info: Boot method: network upgrade from within working lenny Image version: deb ftp://mirror.hetzner.de/debian/packages squeeze main contrib non-free Date: 11 May 2011 Machine: AMD64 X2 Partitions: /dev/md1 251M 49M 190M 21% /boot /dev/md2 460G 2.4G 435G 1% / Base System Installation Checklist: [O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it Initial boot: [O] Detect network card:[O] Configure network: [O] Detect CD: [n/a] Load installer modules: [n/a] Detect hard drives: [O] Partition hard drives: [n/a] Install base system:[O] Clock/timezone setup: [O] User/password setup:[O] Install tasks: [O] Install boot loader:[O] Overall install:[E] Comments/Problems: I was upgrading Debian lenny to squeeze following the debian upgrade guide at http://www.debian.org/releases/stable/amd64/release-notes/ch-upgrading.en.html The install went overall well (reboots with grub2 OK, services apache2 running, ...). However, there were some packages left over from lenny. (dpkg --list | grep lenny) showed e.g. libltdl3 among others. My strategy was to remove the package (and its reverse dependencies) with apt-get remove libltdl3, which also removed php5-mcrypt and phpmyadmin. But trying to install phpmyadmin (thinking it would pull php5-mcrypt and libltdl7) failed, with the following error message: mweber@www:~$ sudo apt-get install phpmyadmin [sudo] password for mweber: Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: phpmyadmin : Depends: php5-mcrypt but it is not going to be installed E: Broken packages mweber@www:~$ sudo apt-get install php5-mcrypt Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: php5-mcrypt : Depends: libltdl3 (>= 1.5.2-2) but it is not installable E: Broken packages In fact the package information, when asked as root, confirms this problem: www:~# apt-cache show php5-mcrypt Package: php5-mcrypt Source: php5 Version: 5.2.17-0.dotdeb.0 Architecture: amd64 Maintainer: Guillaume Plessis Installed-Size: 52 Depends: libc6 (>= 2.7-1), libltdl3 (>= 1.5.2-2), libmcrypt4, phpapi-20060613, php5-common (= 5.2.17-0.dotdeb.0) Filename: dists/lenny/php5/binary-amd64/php5-mcrypt_5.2.17-0.dotdeb.0_amd64.deb [...cut...] After a fresh ssh login to the server, asking as a user, showed: mweber@www:~$ apt-cache show php5-mcrypt Package: php5-mcrypt Priority: optional Section: php Installed-Size: 100 Maintainer: Debian PHP Maintainers Architecture: amd64 Source: php5 Version: 5.3.3-7 Depends: libc6 (>= 2.4), libltdl7 (>= 2.2.6b), libmcrypt4, phpapi-20090626, php5-common (= 5.3.3-7) Filename: pool/main/p/php5/php5-mcrypt_5.3.3-7_amd64.deb Size: 15170 [...cut...] After sudo this was not shown again. Therefore I conclude that the upgrade has corrupted the dependency tree. How can I recover? I searched several posts but none seemed to address my problem. Martin -- Please make sure that the hardware-summary log file, and any other installation logs that you think would be useful are attached to this report. Please compress large files using gzip. Once you have filled out this report, mail it to sub...@bugs.debian.org. == Installer lsb-release: == == Installer hardware-summary: == -- System Information: Debian Release: 6.0.1 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20110513074701.5910.25847.report...@server.jmr-media.de
Bug#426756: ported pypxeboot patches to busybox udhcpc
12.05.2011 20:00, bm wrote: > Hi, > > the attached patches work with busybox-1.17.1 in squeeze and > busybox-1.18.4 in unstable. They are based on the patch in > http://www.grid.ie/pypxeboot/pypxeboot-0.0.3.tar.gz > > Would be great if they could be included, so that we can have > paravirtualized pxe bootable domUs in xen! So basically, the only modification this patch provides is to add -M option to specify alternative MAC address, right? I think it should be addressed upstream first, or at least tried to. I may take care of that. But I've at least one comment about the code, see below. [] > --- busybox-1.17.1-debianorig//networking/udhcp/dhcpc.c 2010-07-06 > 04:25:54.0 +0200 > +++ busybox-1.17.1-patched//networking/udhcp/dhcpc.c 2011-05-12 > 17:26:44.0 +0200 > @@ -766,7 +766,8 @@ > int udhcpc_main(int argc UNUSED_PARAM, char **argv) > { > uint8_t *temp, *message; > - const char *str_c, *str_V, *str_h, *str_F, *str_r; > + uint8_t hwmac[6]; > + const char *str_c, *str_V, *str_h, *str_F, *str_r, *str_M; > IF_FEATURE_UDHCP_PORT(char *str_P;) [] > + if (opt & (OPT_M)) { > + int nrmacfields = 0; > +nrmacfields=sscanf(str_M,"%x:%x:%x:%x:%x:%x", > +(unsigned int *)&hwmac[0], > +(unsigned int *)&hwmac[1], > +(unsigned int *)&hwmac[2], > +(unsigned int *)&hwmac[3], > +(unsigned int *)&hwmac[4], > +(unsigned int *)&hwmac[5]); > +if (nrmacfields == 6) memcpy(client_config.client_mac, > hwmac, 6); > + } This has 2 problems. First, you can't cast uint8_t to unsigned int*, the result is at least endian-dependent (where's the byte of int which should go to our uint8 -- in the end of int or at the beginning of it), and sscanf will access bytes which are not within the hwmac array. Second, if you make a mistake/typo in the mac address, it will be silently ignored - at least a warning should be printed in this case. /mjt -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4dcce83f.2020...@msgid.tls.msk.ru
testing xorriso with your image building efforts
Hi image producing teams, As your teams seem to produce large sets of images, I'd like to ask you to give xorriso a try as an alternate iso image generator. We get more testing, and hopefully you get more useful features. Debian-cd already switched over xorriso, except for powerpc [1]. Some notes, you might be interested in. 1) You may want to make use of emulation mode, to ease (a temporal) switching: + xorriso -as mkisofs|genisoimage --their-options-follow (there is a convenient symlink xorrisofs; invoked that way implies above emulation) + xorriso -as cdrecord|wodim --their-options-follow (resp. there is xorrecord symlink, which implies above) 2) Existing images could be manipulated. 3) There is support for dialog session, to play with either manually or from scripts (via stdin+stdout, example [3]) 4) Further helpful information could be seen in the FAQ. In case of missing entries, the FAQ could be improved. [1] http://lists.debian.org/debian-cd/2011/05/msg00020.html [2] http://www.libburnia-project.org/wiki/FAQ [3] http://git.debian.org/?p=users/danchev/medistimator.git;a=summary P.S. Please CC as I'm not subscribed to the above lists. -- pub 4096R/0E4BD0AB signature.asc Description: This is a digitally signed message part.
Re: testing xorriso with your image building efforts
On 05/13/2011 11:46 AM, George Danchev wrote: > As your teams seem to produce large sets of images, I'd like to ask you to > give xorriso a try as an alternate iso image generator. We get more testing, > and hopefully you get more useful features. that was indeed on my todo, thanks for reminding. i'll upload soon to unstable. -- Address:Daniel Baumann, Donnerbuehlweg 3, CH-3012 Bern Email: daniel.baum...@progress-technologies.net Internet: http://people.progress-technologies.net/~daniel.baumann/ -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4dccff4a.7020...@progress-technologies.net
Bug#426756: ported pypxeboot patches to busybox udhcpc
Hi Michael, On 13.05.2011 10:13, Michael Tokarev wrote: So basically, the only modification this patch provides is to add -M option to specify alternative MAC address, right? Yes I think it should be addressed upstream first, or at least tried to. I may take care of that. That would be great! But I've at least one comment about the code, see below. This has 2 problems. First, you can't cast uint8_t to unsigned int*, the result is at least endian-dependent (where's the byte of int which should go to our uint8 -- in the end of int or at the beginning of it), and sscanf will access bytes which are not within the hwmac array. Second, if you make a mistake/typo in the mac address, it will be silently ignored - at least a warning should be printed in this case. Thanks for the good feedback! Both problems should have been adressed in the attached patches. Regards, Bjoern diff -urN busybox-1.18.4/networking/udhcp/dhcpc.c busybox-1.18.4-patched/networking/udhcp/dhcpc.c --- busybox-1.18.4/networking/udhcp/dhcpc.c 2011-03-13 02:45:40.0 +0100 +++ busybox-1.18.4-patched/networking/udhcp/dhcpc.c 2011-05-13 12:10:25.007347099 +0200 @@ -856,6 +856,7 @@ //usage: "\n -i,--interface IFACEInterface to use (default eth0)" //usage: "\n -p,--pidfile FILE Create pidfile" //usage: "\n -s,--script PROGRun PROG at DHCP events (default "CONFIG_UDHCPC_DEFAULT_SCRIPT")" +//usage: "\n -M,--mac MACMAC address to use instead of HW MAC (example: 00:13:37:c0:ff:ee)" //usage: "\n -t,--retries N Send up to N discover packets" //usage: "\n -T,--timeout N Pause between packets (default 3 seconds)" //usage: "\n -A,--tryagain N Wait N seconds after failure (default 20)" @@ -931,7 +932,8 @@ int udhcpc_main(int argc UNUSED_PARAM, char **argv) { uint8_t *temp, *message; - const char *str_V, *str_h, *str_F, *str_r; + uint32_t hwmac[6]; + const char *str_V, *str_h, *str_F, *str_r, *str_M; IF_FEATURE_UDHCP_PORT(char *str_P;) void *clientid_mac_ptr; llist_t *list_O = NULL; @@ -966,6 +968,7 @@ "release\0"No_argument "R" "request\0"Required_argument "r" "script\0" Required_argument "s" + "mac\0"Required_argument "M" "timeout\0"Required_argument "T" "version\0"No_argument "v" "retries\0"Required_argument "t" @@ -992,16 +995,17 @@ OPT_R = 1 << 9, OPT_r = 1 << 10, OPT_s = 1 << 11, - OPT_T = 1 << 12, - OPT_t = 1 << 13, - OPT_S = 1 << 14, - OPT_A = 1 << 15, - OPT_O = 1 << 16, - OPT_o = 1 << 17, - OPT_x = 1 << 18, - OPT_f = 1 << 19, + OPT_M = 1 << 12, + OPT_T = 1 << 13, + OPT_t = 1 << 14, + OPT_S = 1 << 15, + OPT_A = 1 << 16, + OPT_O = 1 << 17, + OPT_o = 1 << 18, + OPT_x = 1 << 19, + OPT_f = 1 << 20, /* The rest has variable bit positions, need to be clever */ - OPTBIT_f = 19, + OPTBIT_f = 20, USE_FOR_MMU( OPTBIT_b,) IF_FEATURE_UDHCPC_ARPING(OPTBIT_a,) IF_FEATURE_UDHCP_PORT( OPTBIT_P,) @@ -1025,7 +1029,7 @@ #endif ; IF_LONG_OPTS(applet_long_options = udhcpc_longopts;) - opt = getopt32(argv, "CV:H:h:F:i:np:qRr:s:T:t:SA:O:ox:f" + opt = getopt32(argv, "CV:H:h:F:i:np:qRr:s:M:T:t:SA:O:ox:f" USE_FOR_MMU("b") IF_FEATURE_UDHCPC_ARPING("a") IF_FEATURE_UDHCP_PORT("P:") @@ -1033,6 +1037,7 @@ , &str_V, &str_h, &str_h, &str_F , &client_config.interface, &client_config.pidfile, &str_r /* i,p */ , &client_config.script /* s */ + , &str_M /* M */ , &discover_timeout, &discover_retries, &tryagain_timeout /* T,t,A */ , &list_O , &list_x @@ -1092,6 +1097,27 @@ return 1; } + if (opt & (OPT_M)) { + int nrmacfields = sscanf(str_M,"%x:%x:%x:%x:%x:%x", + &hwmac[0], + &hwmac[1], + &hwmac[2], + &hwmac[3], + &hwmac[4], + &hwmac[5]); + if (nrmacfields == 6) { + for (int i = 0; i < 6; ++i) { + if (hwmac[i] > 255) { +
thong tin bat dong san
Chuyên bat động sản khu vực Vân Trì, Cổ Loa…..Huyện Đông Anh và Sóc Sơn. Tư vấn đầu tư bất động sản, uy tín, thành công, LH: anh Lượng - DT: 01634121222.. Tôi có thể tiên đoán giá bất động sản biến động chính xác vào cuối năm nay, tôi sẽ nói lý do cho bạn biết khi bạn gọi tôi. Chúc đầu tư thành công
Bug#626299: debian-installer: installer broken on armel - "Can't check signature: public key not found"
* boos...@wolke7.net [2011-05-11 19:21]: > I'm using the latest installer image from the link you mentioned > and I also tried different mirrors with the same result. I just checked the latest debian-installer image and it definitely contains the GPG key 473041FA, which the installer is complaining about in the logs you sent. I believe you're not using the latest installer. Look at the logs you sent: > May 11 17:10:41 kernel: [0.00] Linux version 2.6.32-5-kirkwood > (Debian 2.6.32-15) (b...@decadent.org.uk) (gcc version 4.3.5 (Debian 4.3.5-1) > ) #1 Thu Jun 3 15:54:38 UTC 2010 The kernel is built in June 2010. But the latest Debian installer image from ftp://ftp.debian.org/debian/dists/stable/main/installer-armel/current/images/kirkwood/network-console/qnap/ts-219/ should, afaik, contain a much newer kernel (one from March 2011). Can you download the installer image again and try once more? -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20110513171429.gi2...@jirafa.cyrius.com
¿how install debian?
hi, my name is juan david, I am student, i need know how install DEBIAN, if can you help me to the install, with manuals or web pages, thank very much, -- JUAN DAVID MEDINA V.
Re: r66559 - people/sandbox
Quoting Elian Myftiu (elian-gu...@alioth.debian.org): > Author: elian-guest > Date: Thu May 12 11:47:40 2011 > New Revision: 66559 > > Log: > Testcommit of a file > > Added: >people/sandbox/foo Hey. Nice to see you're back..:-) signature.asc Description: Digital signature