Re: gnome wont start
On Mon, 12/22/14, Joris Bolsens wrote: Subject: gnome wont start To: debian-user@lists.debian.org Date: Monday, December 22, 2014, 9:09 PM [snip] $ sudo systemctl status gdm.service ● gdm.service - GNOME Display Manager Loaded: loaded (/lib/systemd/system/gdm.service; enabled) Active: failed (Result: start-limit) since Mon 2014-12-22 19:06:18 PST; 1min 26s ago Dec 22 19:06:16 debian systemd[1]: Failed to start GNOME Display Manager. Dec 22 19:06:16 debian systemd[1]: Unit gdm.service entered failed state. Dec 22 19:06:18 debian systemd[1]: gdm.service holdoff time over, scheduling restart. Dec 22 19:06:18 debian systemd[1]: Stopping GNOME Display Manager... Dec 22 19:06:18 debian systemd[1]: Starting GNOME Display Manager... Dec 22 19:06:18 debian systemd[1]: gdm.service start request repeated too quickly, refusing to start. Dec 22 19:06:18 debian systemd[1]: Failed to start GNOME Display Manager. Dec 22 19:06:18 debian systemd[1]: Unit gdm.service entered failed state. --- Recent discussion (on the Devuan list) mentioned dbus requires a reboot to restart. Perhaps startx also needs a reboot? Welcome to the world of systemd - determined to complicate your computing life. Note that Gnome is terminally infected with the systemd plague. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/1419316295.38957.yahoomailba...@web163405.mail.gq1.yahoo.com
gnome wont start
Hello all, I recently ran into a problem with Gnome. It fails to start at all. I am able to get a working ui by using the startx command, and it seems like it is a gnomish environment (windows key brings up the Activities selected or what have you) Gnome used to work fine, however I installed KDE to try it, decided i dint like it, and purged it. Everything on google seems to recommend simply removing Gnome and using tasksel to reinstall Gnome from scratch, however this does not resolve my issue. some relevant outputs: -- $ sudo service gdm restart Warning: Unit file of gdm.service changed on disk, 'systemctl daemon-reload' recommended. Job for gdm.service failed. See 'systemctl status gdm.service' and 'journalctl -xn' for details. -- -- $ sudo systemctl daemon-reload -- -- $ sudo systemctl status gdm.service ● gdm.service - GNOME Display Manager Loaded: loaded (/lib/systemd/system/gdm.service; enabled) Active: failed (Result: start-limit) since Mon 2014-12-22 19:06:18 PST; 1min 26s ago Dec 22 19:06:16 debian systemd[1]: Failed to start GNOME Display Manager. Dec 22 19:06:16 debian systemd[1]: Unit gdm.service entered failed state. Dec 22 19:06:18 debian systemd[1]: gdm.service holdoff time over, scheduling restart. Dec 22 19:06:18 debian systemd[1]: Stopping GNOME Display Manager... Dec 22 19:06:18 debian systemd[1]: Starting GNOME Display Manager... Dec 22 19:06:18 debian systemd[1]: gdm.service start request repeated too quickly, refusing to start. Dec 22 19:06:18 debian systemd[1]: Failed to start GNOME Display Manager. Dec 22 19:06:18 debian systemd[1]: Unit gdm.service entered failed state. -- signature.asc Description: OpenPGP digital signature
Re: /var/lib/dpkg/status strangeness
Simon Bell wrote: > My /var/lib/dpkg/status file became corrupt recently, I was getting > this when trying to apt-update: > ... > I managed to correct the issue by pulling some stuff from > /var/lib/dpkg/status-old... Also don't forget about /var/backups. There is a daily copy stored there too. -rw-r--r-- 1 root root3379467 Dec 20 12:10 dpkg.status.0 -rw-r--r-- 1 root root1029277 Dec 20 12:10 dpkg.status.1.gz -rw-r--r-- 1 root root1037392 Dec 19 12:33 dpkg.status.2.gz -rw-r--r-- 1 root root1037406 Dec 18 10:58 dpkg.status.3.gz -rw-r--r-- 1 root root1037409 Dec 17 12:26 dpkg.status.4.gz -rw-r--r-- 1 root root1037407 Dec 16 11:37 dpkg.status.5.gz -rw-r--r-- 1 root root1037385 Dec 15 10:23 dpkg.status.6.gz > But, can anyone explain why the corruption (shown below) ended up containing > the name of an old wireless SSID I used to use!? > ... > The SSID was called 'airdrawndagger', it hasn't been active for over > a year and the machine in question was clean installed after the > Wireless network was replaced with another! > > If only for my sanity, does anyone have any idea how this could happen? Very odd. It *did* happen. Therefore there must be vector. It must have been on the disk. Possibly in swap. There must have been some disk corruption to have caused that block to appear where it should not have. Normally I would suspect a bad pointer to reference unexpected data. Among the things I would check I would check the status of the disk. Assuming /dev/sda get the SMART selftest information. apt-get install smartmontools smartctl -l error /dev/sda smartctl -l selftest /dev/sda smartctl -t short /dev/sda smartctl -l selftest /dev/sda smartctl -t long /dev/sda smartctl -l selftest /dev/sda If you haven't configured smart to run routinely then I would so do. I like this in my /etc/smartd.conf file: # Monitor all attributes, enable automatic offline data collection, # automatic Attribute autosave, and start a short self-test every # weekday between 2-3am, and a long self test Saturdays between 3-4am. # Ignore attribute 194 temperature change. # Ignore attribute 190 airflow temperature change. # On failure run all installed scripts (to send notification email). /dev/sda -a -o on -S on -s (S/../../[1-5]/03|L/../../6/03) -I 194 -I 190 -m root -M exec /usr/share/smartmontools/smartd-runner I guess I would suspect a disk problem but that doesn't rule out some other possible problem. But definitely a scary system integrity failure of some sort. Bob signature.asc Description: Digital signature
Re: Changing permission in user's home directory
The Wanderer wrote: > Yes, that makes sense in this case. I'm not in the habit of doing it in > most cases, however, because I commonly-enough need to use find with > commands of the form 'command option {} option +' rather than the form > 'command option {} +'. Yep. That would push you into using the ; form instead of the + form. > Since find can't tell what significance the additional option(s) after > the argument list would have (i.e. whether to repeat them after each > item in the argument list, or just append them once at the end), it > naturally rejects that syntax as ambiguous. A lot of commands have been modified specifically to work with find and other ways of generating files in this way. For example the mv and cp commands have the -t, --target-directory=DIRECTORY option. That way one can specify things like this. find $path -selectionoptions -execdir cp --target-dir=/SOME/PATH {} + And then all of the options are up front and all of the files are at the rear. > (The man page indicates that the -exec and -execdir options build their > command lines in much the same way as xargs does, and it's possible to > build the more complicated command lines I need using 'xargs -I', but if > there's a similar syntax or functionality for find I haven't found it.) There are some clever hacks to do it in find but I think the xargs way is better and cleaner so I won't recommend the find workarounds. > That's not to say you aren't right in suggesting that that syntax is the > better approach in this case, just to explain why I didn't think to > suggest it myself, and to point out its limitations for other people who > may read this. It was definitely lower down on the list. And after doing some testing with -execdir with various cases I am not convinced that the + form actually does anything different from the ; form. It appears to be a current deficiency. Possibly a current bug. So this is definitely small and probably doesn't matter. At least not now. But possibly also a future capability that would be nice to take advantage of at some point. Bob signature.asc Description: Digital signature
Re: wordperfect 5.1 for unix, and debian?
well, this was Entertaining. For those who like to cling. www.wpuniverse.com Marvelous place and there are even ways to run wp 5.1 for dos, under windows 8 if you like it like that. You know I use wp many many times a day, wp 6.0 for dos and 6.2...but I honestly cannot remember the last time I worked with reveal codes. I might add that some at the wp universe rave about wp 5.1 for dos and wonder why I love 6.0 so much, but not with a suggestion that anyone is clinging to the past of anything. I suppose it is time to toss out those pencils folks. However, I will fight to keep my crayons ducky! Seriously, I intend curling up with this wp for UNIX manual and a bit of eggnog over the weekend. Will report which UNIX orchestra fits its fancy when I learn. Thanks all, Kare On Tue, 23 Dec 2014, Joel Rees wrote: On Mon, Dec 22, 2014 at 3:19 AM, Gary Dale wrote: On 20/12/14 10:21 PM, Karen Lewellen wrote: Not you Patrick, someone else. I am sort of quoting "I still do not know what you have against it is far superior to wordperfect. Odd idea about a virtual machine too. The is far superior is the sort of thing I mean. Especially when so many others have reasons to appreciate their own word processor preferences. Kare I believe I'm the person who made the remark. It's based on comparing features, features that you like and know how to find ease of use according to what you're used to and stability. Sigh. I laugh in your face. Unless, I suppose, you mean the stability when tryihg to run it in wine on current Linux boxes, or perhaps the Mac version. WP 5.1 on DOS was as stable as word processors get. Period. Macintosh WordPerfect of the same vintage, not so stable. There were technical reasons for that involving the ability of the old Macintosh libraries to support techniques used internally in WordPerfect. If you took an independent evaluation of the current crop of word processors available in the world, and compared them against WP51, I doubt anyone would rate WP51 above the major free options. I suppose you're into doubting the existence of countries you've never been to? Even when engaging in a conversation with people who claim to be from that country? This thread includes posts from people who use LO/OO reguarly and would rather use WP, you know. At some point we should just accept that some products are just better than others. Do you really mean to say that, at some point, everyone should accept your opinion? Familiarity may make you comfortable with a product but the computer world never stands still. Clinging to the past leads to problems with keeping things current - such as finding a way to run WordPerfect on a platform that the manufacturer no longer supports. I also recall WP's reveal codes. Funny thing is, I've never missed them. LibreOffice and OpenOffice.org before it never messed up my documents enough to make me want to see what they were doing. And that explains exaclty what makes WP uninteresting to you. Which is fine with me. As for whether the user interface is good or bad, I don't really care. I hate a lot of the current crop of user interfaces because they try to get too clever. The best user interface is the one that works for that particular user. You can say that much, but you can't admit that the underlying paradigm might also have its advantages and disadvantages? That the best way to process text internally is the one that works for the particular user? I don't think we are talking about simple algebraic automata with, say, ten inputs and ten outputs and a pre-specified algebraic language, such that all word processors must implement that algrebraic language to be called word processors. For the great unwashed masses of us who don't spend all day "word processing", we want one that allows us to find the features we want when we need them. LibreOffice does that. For you it does, apparently. For me, frankly, I'd rather use MSWord, even with that accursed ribbon interface. Hmm. Some people actually like the ribbon interface. And I'm not saying that with a wink and a nudge and a knowing chuckle. It collects the stuff they need where they need most often and puts where they can find it. The only complaint I have about it is that Microsoft wants everyone to accept that their UI and internal paradigms, their definition of a word processor, is "superior" and "more modern" and therefore everyone should just up and abandon whatever they think they like best and come running and use Microsoft's Office products. Salesmen who talk like that see me smile and nod politely, but they rarely see my money. If they get offended about it, they just see the door that much sooner. But it doesn't bother me that my co-workers use MSOffice, unless my co-workers get sucked into cooperating with those salesmen. A lot of the new crop of interfaces like to hide things away to make the top bar smaller. This effectively gives you an extra layer of
Re: USB drive mounted Read-only; what to do ?
Ric Moore wrote: > Andrei POPESCU wrote: > > On one hand I don't think it's such a big burden to use su/do or similar > > for this type of operation, on the other hand it's slightly easier to > > pick the wrong device and destroy your data. > > Andrei, the issue of IF the pen-drive was automounted on insertion has not > been raised. What do you think?? Ric Certainly if it were mounted when writing to the underlying raw device I would expect that would really confuse the kernel about the mount point. If it were mounted read-only that would be the best case. But if the file system were trying to update structures then I would expect that would corrupt the iso image written to the raw device. Hopefully it wouldn't boot as opposed to booting but having strange errors later. Bob signature.asc Description: Digital signature
Re: wordperfect 5.1 for unix, and debian?
On Mon, Dec 22, 2014 at 3:19 AM, Gary Dale wrote: > On 20/12/14 10:21 PM, Karen Lewellen wrote: >> >> Not you Patrick, someone else. >> I am sort of quoting >> "I still do not know what you have against > suggesting> it is far superior to wordperfect. >> Odd idea about a virtual machine too. >> The is far superior is the sort of thing I mean. Especially when so many >> others have reasons to appreciate their own word processor preferences. >> Kare >> > I believe I'm the person who made the remark. It's based on comparing > features, features that you like and know how to find > ease of use according to what you're used to > and stability. Sigh. I laugh in your face. Unless, I suppose, you mean the stability when tryihg to run it in wine on current Linux boxes, or perhaps the Mac version. WP 5.1 on DOS was as stable as word processors get. Period. Macintosh WordPerfect of the same vintage, not so stable. There were technical reasons for that involving the ability of the old Macintosh libraries to support techniques used internally in WordPerfect. > If you took an independent evaluation > of the current crop of word processors available in the world, and compared > them against WP51, I doubt anyone would rate WP51 above the major free > options. I suppose you're into doubting the existence of countries you've never been to? Even when engaging in a conversation with people who claim to be from that country? This thread includes posts from people who use LO/OO reguarly and would rather use WP, you know. > At some point we should just accept that some products are just better than > others. Do you really mean to say that, at some point, everyone should accept your opinion? > Familiarity may make you comfortable with a product but the computer > world never stands still. Clinging to the past leads to problems with > keeping things current - such as finding a way to run WordPerfect on a > platform that the manufacturer no longer supports. > > I also recall WP's reveal codes. Funny thing is, I've never missed them. > LibreOffice and OpenOffice.org before it never messed up my documents enough > to make me want to see what they were doing. And that explains exaclty what makes WP uninteresting to you. Which is fine with me. > As for whether the user interface is good or bad, I don't really care. I > hate a lot of the current crop of user interfaces because they try to get > too clever. The best user interface is the one that works for that > particular user. You can say that much, but you can't admit that the underlying paradigm might also have its advantages and disadvantages? That the best way to process text internally is the one that works for the particular user? I don't think we are talking about simple algebraic automata with, say, ten inputs and ten outputs and a pre-specified algebraic language, such that all word processors must implement that algrebraic language to be called word processors. > For the great unwashed masses of us who don't spend all day "word > processing", we want one that allows us to find the features we want when we > need them. LibreOffice does that. For you it does, apparently. For me, frankly, I'd rather use MSWord, even with that accursed ribbon interface. Hmm. Some people actually like the ribbon interface. And I'm not saying that with a wink and a nudge and a knowing chuckle. It collects the stuff they need where they need most often and puts where they can find it. The only complaint I have about it is that Microsoft wants everyone to accept that their UI and internal paradigms, their definition of a word processor, is "superior" and "more modern" and therefore everyone should just up and abandon whatever they think they like best and come running and use Microsoft's Office products. Salesmen who talk like that see me smile and nod politely, but they rarely see my money. If they get offended about it, they just see the door that much sooner. But it doesn't bother me that my co-workers use MSOffice, unless my co-workers get sucked into cooperating with those salesmen. > A lot of the new crop of interfaces like > to hide things away to make the top bar smaller. This effectively gives you > an extra layer of menu to get to the feature you want. It may look snazzy > but it doesn't help me process words. You can see this, but you can't see that. OK. That's fine, too. Just don't be surprised that some people disagree with you, and that some find the way you offer your opinions offensive. (I've heard people whose opinions I respect opine that, had WordPerfect opened their source code instead of selling the company, MSOffice would be a dead product now, with all the ramifications that would hold.) Points on topic: People who haven't tried LibreOffice/OpenOffice might find it worth their while to do so. Or not. It's probably worth an hour or two of trying it out. Likewise the various alternatives based on TeX, such as lyx. Those who find "reveal codes"
Jessie KDE desktop doesn't communicate with Java
I'm running Jessie KDE, updated through today with the following Java installed: openjdk-7-jre:amd64 7u71-2.5.3-2 openjdk-7-jre-headless:amd64 7u71-2.5.3-2 I have the following gnome and libbonobo libraries installed: libgnome-2-0:amd642.32.1-5 libgnome2-0:amd64 2.32.1-5 libgnome2-bin 2.32.1-5 libgnome2-common 2.32.1-5 libgnomevfs2-0:amd64 1:2.24.4-6+b1amd64 libgnomevfs2-common 1:2.24.4-6 libgnomevfs2-extra:amd64 1:2.24.4-6+b1 libbonobo2-0:amd642.32.1-3amd64 libbonobo2-common 2.32.1-3 I run JMRI, the Java Model Railroad Interface. The KDE desktop doesn't communicate properly with the JMRI. When JMRI asks the desktop to open a text editor, the following error message is returned: 2014-12-22 15:12:22,688 trains.TrainPrintUtilitiesWARN - desktop edit not supported [AWT-EventQueue-0] I'm not a programmer and I know nothing about Java or the KDE desktop API. Is there some additional package I should install or some configuration I should do to make this work? If there is a better place to ask this question I would appreciate a pointer to it. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20141222153108.5e9cc6af@sirius
Testing needed for binutils security update
Hi there, I have been trying to fix the multiple security issues that binutils has pending[1] for wheezy/stable. It have been quite complicated and the patch affects many elements of the code. I would like to avoid regression as much as possible. Please, take a look to it [2] (compiled for amd64) and report success or errors to t...@security.debian.org [1] https://security-tracker.debian.org/tracker/source-package/binutils [2] https://people.debian.org/~luciano/binutils_2.22-8+deb7u1/ Thanks, luciano -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/17100744.7nMcH3bRfP@box
Re: bind mount
On Lu, 22 dec 14, 11:03:07, pe...@easthope.ca wrote: > This line in /etc/fstab allows bind mounting, except that > the user option has no effect. > /usr/bin/aos /home/usr/.aoshome none bind,user > > There is no simple way to allow a user? What are you trying to accomplish? Kind regards, Andrei -- http://wiki.debian.org/FAQsFromDebianUser Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic http://nuvreauspam.ro/gpg-transition.txt signature.asc Description: Digital signature
Re: shell script removing log files.
On Lu, 22 dec 14, 10:51:26, pe...@easthope.ca wrote: > This command in a shell script removes unwanted log files. > > for i in $( echo *.Log ); do > /bin/rm $i; > echo "Removed $i." > done > > In the edge case of no matching files, rm complains. > /bin/rm: cannot remove `*.Log': No such file or directory > > If echo is replaced with ls, it complains when there > is no match. > > Does anyone have a tidy solution for this task? find -name '*.Log' -delete Kind regards, Andrei -- http://wiki.debian.org/FAQsFromDebianUser Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic http://nuvreauspam.ro/gpg-transition.txt signature.asc Description: Digital signature
Re: Re: Skipping fsck during boot with systemd?
On Mon 22 Dec 2014 at 11:58:55 -0700, Bob Holtzman wrote: > On Mon, Dec 22, 2014 at 10:22:09AM +0100, alberto fuentes wrote: > > >> Pretty damn inconvenient and un-discoverable if you ask me. > > >> So I think this deserves a bug report. > > > > > > Don't get carried away and start typing. > > > > > > #758902 > > > > > > Yeah, This bug is bound to bite everybody at least one... probably more > > > > Severity of this regresion bug is wishlist and maintainer doesn't seem > > to be willing to budge... go figure > > Why doesn't this surprise me? Because you haven't thought it through? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/2014101906.gp19...@copernicus.demon.co.uk
Sherry Mills www.Facebook.com/SherryLinen
Hello Dear one, May i have your cell number please ? EARN MONTHLY INCOME WITHOUT INVESTING A SINGLE PENNY. JOIN THIS LINK https://www.tsu.co/mehrliaqat Are you looking for textile supplier or buying agency in Pakistan? We want to sell black , red and navy blue fabric in cotton and cvc 16/16 60x58 66" and 20/20 60x60 Grey and 63" Finished, close selvedge Sulzer loom. Delivery. Any quantity just within a week after order. Sherry Mills producing fabric, bedsheets,towels, uniforms and plunty of varities availble in ready delivery. Contact us sherrymi...@sherryweavers.com www.facebook.com/sherryLinen www.sherryweavers.com www.facebook.com/groups/MehrSherryMills Skype.. Liaquat69 Sincerely Yours Mehr (CEO) Sherry Mills / Liaqu Textile Mills . Pakistan -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/54987ad4.6387440a.4d63.1...@mx.google.com
Re: shell script removing log files.
On Mon, Dec 22, 2014 at 10:51:26AM -0800, pe...@easthope.ca wrote: > This command in a shell script removes unwanted log files. > > for i in $( echo *.Log ); do > /bin/rm $i; > echo "Removed $i." > done > > In the edge case of no matching files, rm complains. > /bin/rm: cannot remove `*.Log': No such file or directory > > If echo is replaced with ls, it complains when there > is no match. > > Does anyone have a tidy solution for this task? First of all, you have an unnecessary use of "echo". Although seemingly innocuous, if you have file names with spaces, the spaces will mess things up as things will be going through the shell twice. Which is once too many. Second, remember that when the shell performs pathname expansion, it will leave the original pattern in there if nothing matches. Hence the error message you see. This should do the trick: for i in *.Log ; do if test -f "$i"; then rm "$i" echo Removed $i. fi done or if you want to make things *really* simple: rm --force --verbose *.Log :-) -- Karl E. Jorgensen -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/2014101542.GB5035@hawking
bind mount
This line in /etc/fstab allows bind mounting, except that the user option has no effect. /usr/bin/aos /home/usr/.aoshome none bind,user There is no simple way to allow a user? Thanks,... Peter E. -- 123456789 123456789 123456789 123456789 123456789 123456789 123456789 12 Tel +1 360 639 0202 http://carnot.yi.org/ Bcc: peter at easthope. ca -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/E1Y38G3-000249-2C@armada.invalid
Re: init script can't find /bin/dirname
On 2014-12-22 19:23 +0100, Rob Owens wrote: > $ ls -l /bin/dirname > -rwxr-xr-x 1 root root 13880 Jan 30 2007 /bin/dirname > > $ file /bin/dirname > dirname: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), > dynamically linked (uses shared libs), for GNU/Linux 2.4.1, stripped > > Similar thing for /bin/basename and a bunch of other files that are > present in both /bin and /usr/bin. For all the duplicates I've checked, > the files in /bin are 32-bit and are old, while the files in /usr/bin > are 64-bit and are recent. > > So I guess for now I'm going to move all these obsolete files into > another directory and make sure the system works ok before I delete them > for good. I'm not sure how this system ended up like this, but it's and > old system that's been dist-upgraded many times as well as having the > hard disk moved to different hardware. > > I checked Wheezy, Squeeze, and Lenny and the coreutils package doesn't > put dirname or basename in /bin on any of those releases -- they go in > /usr/bin. I wasn't able to go farther back than that. But 2007 is when > Etch was released, and that was also the first Debian release I ever used. Indeed, the file size and date above match the dirname executable from the i386 coreutils package in Etch[1], but even that package installed dirname in /usr/bin. Why somebody copied this and other files to /bin is probably impossible to tell now. Cheers, Sven 1. http://archive.debian.net/etch/i386/coreutils/download -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/87h9wnfpl9@turtle.gmx.de
Re: Re: Skipping fsck during boot with systemd?
On Mon, Dec 22, 2014 at 10:22:09AM +0100, alberto fuentes wrote: > >> Pretty damn inconvenient and un-discoverable if you ask me. > >> So I think this deserves a bug report. > > > > Don't get carried away and start typing. > > > > #758902 > > > Yeah, This bug is bound to bite everybody at least one... probably more > > Severity of this regresion bug is wishlist and maintainer doesn't seem > to be willing to budge... go figure Why doesn't this surprise me? -- Bob Holtzman Giant intergalactic brain-sucking hyperbacteria came to Earth to rape our women and create a race of mindless zombies. Look! It's working! -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20141222185855.ga11...@cox.net
Re: shell script removing log files.
On 22/12/14 19:51, pe...@easthope.ca wrote: > This command in a shell script removes unwanted log files. > > for i in $( echo *.Log ); do > /bin/rm $i; > echo "Removed $i." > done > > In the edge case of no matching files, rm complains. > /bin/rm: cannot remove `*.Log': No such file or directory > > If echo is replaced with ls, it complains when there > is no match. > > Does anyone have a tidy solution for this task? rm --verbose --force *.Log hth, Jerome > > Thanks, ... Peter E. > > > -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/549870b1.6030...@rezozer.net
Re: shell script removing log files.
On 12/22/2014 at 01:51 PM, pe...@easthope.ca wrote: > This command in a shell script removes unwanted log files. > > for i in $( echo *.Log ); do > /bin/rm $i; > echo "Removed $i." > done > > In the edge case of no matching files, rm complains. > /bin/rm: cannot remove `*.Log': No such file or directory > > If echo is replaced with ls, it complains when there > is no match. > > Does anyone have a tidy solution for this task? I'm not quite sure just what it is that you're wanting to do, but if my guess is correct, this should get the job done: if [ -e "/path/to/*.log" ] ; then for i in /path/to/*.log ; do /bin/rm "$i" &>/dev/null && echo "Removed $i." ; done fi That should run the removal loop only if there is at least one log file present to be removed, and report removal only if the removal actually succeeded - rather than claiming success even if, e.g., the file could not be removed because appropriate write permission was missing. If that isn't what you want to do, then you'll need to explain better what it is you're trying to accomplish. -- The Wanderer The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man. -- George Bernard Shaw signature.asc Description: OpenPGP digital signature
shell script removing log files.
This command in a shell script removes unwanted log files. for i in $( echo *.Log ); do /bin/rm $i; echo "Removed $i." done In the edge case of no matching files, rm complains. /bin/rm: cannot remove `*.Log': No such file or directory If echo is replaced with ls, it complains when there is no match. Does anyone have a tidy solution for this task? Thanks, ... Peter E. -- 123456789 123456789 123456789 123456789 123456789 123456789 123456789 12 Tel +1 360 639 0202 http://carnot.yi.org/ Bcc: peter at easthope. ca -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/E1Y384k-00023W-S0@armada.invalid
Re: init script can't find /bin/dirname
On Mon, Dec 22, 2014 at 10:55:15AM -0500, Rob Owens wrote: > On Mon, Dec 22, 2014 at 04:41:05PM +0100, Sven Joachim wrote: > > On 2014-12-22 04:10 +0100, Rob Owens wrote: > > > So I'm still not sure why /etc/init.d/mysql cannot find "dirname" and > > > "basename" when running at system boot, but it can find them when run > > > from a terminal after boot. > > > > Maybe you have a /bin/dirname executable whose interpreter is missing, > > e.g. it could be a 32-bit binary and you don't have libc6:i386 > > installed anymore. > > That's it! This system has a /bin/dirname as well as /usr/bin/dirname. > When I call /bin/dirname from a shell, I get "-bash: /bin/dirname: No > such file or directory". $ ls -l /bin/dirname -rwxr-xr-x 1 root root 13880 Jan 30 2007 /bin/dirname $ file /bin/dirname dirname: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.4.1, stripped Similar thing for /bin/basename and a bunch of other files that are present in both /bin and /usr/bin. For all the duplicates I've checked, the files in /bin are 32-bit and are old, while the files in /usr/bin are 64-bit and are recent. So I guess for now I'm going to move all these obsolete files into another directory and make sure the system works ok before I delete them for good. I'm not sure how this system ended up like this, but it's and old system that's been dist-upgraded many times as well as having the hard disk moved to different hardware. I checked Wheezy, Squeeze, and Lenny and the coreutils package doesn't put dirname or basename in /bin on any of those releases -- they go in /usr/bin. I wasn't able to go farther back than that. But 2007 is when Etch was released, and that was also the first Debian release I ever used. Sven, thanks for your help. Your tips got me heading down the right track. -Rob signature.asc Description: Digital signature
/var/lib/dpkg/status strangeness
Hi Everyone, My /var/lib/dpkg/status file became corrupt recently, I was getting this when trying to apt-update: dpkg: error: parsing file '/var/lib/dpkg/status' near line 27803 package 'gcr': field name `°[?@' must be followed by colon E: Sub-process /usr/bin/dpkg returned an error code (2) I managed to correct the issue by pulling some stuff from /var/lib/dpkg/status- old... But, can anyone explain why the corruption (shown below) ended up containing the name of an old wireless SSID I used to use!? *** Description: GNOME crypto services (daemon and tools) GCR is a library for crypto UI and related tasks. . This package contai<9c>^@^@^@^D ÃÃJ^@^@^@^@^@^@^@^@^@^F^AïE^L^@r and prompter ^D°^D[?@^@^@^@ÿÿÿÿÿÿ<8c>ÃÃr^NÃÿÿÿÿÿÿpã^@^Nairdrawndagger^A^D^B^D^K^V2^H^L^R^X$0H`l- ^Zl^X^Zÿÿ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^^A^@^A^@^C^E^@^@^@^@^@Ã^^^@<90>L3l^X^Zÿÿ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^A^A^@^@ÿ^A^@^@^@^@^@1à ^K^Salled *** The SSID was called 'airdrawndagger', it hasn't been active for over a year and the machine in question was clean installed after the Wireless network was replaced with another! If only for my sanity, does anyone have any idea how this could happen? Thanks : ) -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/5243583.fnnqpd5hLi@dragonfly
Re: init script can't find /bin/dirname
On Mon, Dec 22, 2014 at 04:41:05PM +0100, Sven Joachim wrote: > On 2014-12-22 04:10 +0100, Rob Owens wrote: > > So I'm still not sure why /etc/init.d/mysql cannot find "dirname" and > > "basename" when running at system boot, but it can find them when run > > from a terminal after boot. > > Maybe you have a /bin/dirname executable whose interpreter is missing, > e.g. it could be a 32-bit binary and you don't have libc6:i386 > installed anymore. That's it! This system has a /bin/dirname as well as /usr/bin/dirname. When I call /bin/dirname from a shell, I get "-bash: /bin/dirname: No such file or directory". My other Wheezy system (which was installed as a 64-bit system) only has /usr/bin/dirname. OK, I guess I've got a little research to do. If you have any clue how to straighten this out, I'm all ears. Thanks for all your help! -Rob signature.asc Description: Digital signature
Re: init script can't find /bin/dirname
On 2014-12-22 04:10 +0100, Rob Owens wrote: > I rebooted and found that the path is fine: > > /sbin:/usr/sbin:/bin:/usr/bin A notable difference to the default PATH of a logged in user (with the standard /etc/profile, anyway) is that init places /bin before /usr/bin. > So I'm still not sure why /etc/init.d/mysql cannot find "dirname" and > "basename" when running at system boot, but it can find them when run > from a terminal after boot. Maybe you have a /bin/dirname executable whose interpreter is missing, e.g. it could be a 32-bit binary and you don't have libc6:i386 installed anymore. Cheers, Sven -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/87oaqvg0a6@turtle.gmx.de
[Lynx-dev] lynx2.8.9dev.2
Latest stable and development info on lynx. Karen On Sun, 21 Dec 2014, Thomas Dickey wrote: The current version of lynx is 2.8.8 It's available at http://lynx.isc.org/ ftp://lynx.isc.org/lynx2.8.8/ 2.8.9 Development & patches: http://lynx.isc.org/current/index.html 2014-12-21 (2.8.9dev.2) * correct an inconsistent check for reload using isLYNXCGI() in the options-screen -TD * add script after using msginit to create en.po, to work around renaming in Cygwin environment -TD * improve overlay of field contents in form for "-dump" option; the change in 2.8.8dev.3 did not take into account UTF-8 values (Debian #770011) -TD * correct a bug in the map_string_to_keysym() function introduced in 2.8.8dev.17: as used via the remap() function, this returns the curses code for a special key rather than Lynx's internal code (Debian #769601) -TD * add checks when translating from UTF-8 to Unicode, to ensure that only the shortest encoding is accepted. Other/longer encodings are mapped to the UCS replacement character as in xterm (Debian #763268) -TD * modify LYExpandHostForURL() to call HTGetAddrInfo(), allowing DNS lookups for IPv6 to be interrupted, e.g., by typing ^G. This was a path overlooked in 2.8.8dev.13 (reports by Chad Kline, etc.) -TD * drop libgnutls-extra when using --with-gnutls-compat option -TD * drop libgcrypt dependency when building with gnutls, using gnutls_rnd() rather than gcry_randomize() (adapted from patch by Andreas Metzler, Debian #753699) -TD * fix a reference-after-free in scan_cookie_sublist(), probably fixing RedHat #1120925 (patch by Mike Gorse). * update eo.po, id.po from http://translationproject.org/latest/lynx * improve workaround for too-long pathnames in LYPrint.c SetupFilename() -TD * fix a few inconsistencies between #if / #ifdef, including one for sleep() which broke cross-compiles for MinGW -TD * updated/improved configure script macros (TD): + CF_ACVERSION_CHECK: work around another gratuitous incompatibility introduced in 2.69 (reported by Ross Burton, openembedded.org) + CF_ADD_CFLAGS: workaround for ash-shell + CF_ADD_LIBS: workaround in CF_X_TOOLKIT uses pkgconfig, whose files generally are using incomplete dependencies - in turn introducing lots of duplication. filter out the duplicates. + CF_CHECK_CFLAGS: workaround for ash-shell + CF_CURSES_FUNCS: improve workaround for weak-linkage, seems to fix tests with NetBSD 6.1 + CF_INTEL_COMPILER: cleanup the -no-gcc option which was leftover from testing - prcs does not build with this option. + CF_MAKEFLAGS: workaround for GNU make 4.0 incompatibility with previous releases. + CF_SUBDIR_PATH: add /usr/pkg and /opt/local to help configuring with pkgsrc and macports -TD + CF_XOPEN_SOURCE: Minix3.2 ifdef's the POSIX.1-2001 functions inside _NETBSD_SOURCE, even though it was released 2012-02-29 - appease it. At the same time, turn on the verbose flag to show that most platforms need platform-specific define's to get POSIX (sic). Also, add case for UnixWare (report/discussion with Mark Ryan). + CF_X_ATHENA: add --with-Xaw3dxft option + CF_X_TOOLKIT: add workaround for breakage in XQuartz upgrades * add check to ensure that "submit" command from 2.8.8dev.10 is performed in a form (report by Karen Lewellen) -TD * update config.guess (2014-03-23), config.sub (2014-07-28) -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/pine.bsf.4.64.1412221039280.76...@server1.shellworld.net
Re: rezound, twinkle in jessie ?
On 22/12/14 12:31, Gerard ROBIN wrote: Hello, I installed jessie on a external hard drives, (usb) I use rezound and twinkle which are in squeeze only. They work fine in jessie but the command "apt-get dist-upgade" propose to me to remove five packages and among them rezound and twinkle. My question: rezound and twinkle are they doomed to disappear from debian ? rezound disappeared in wheezy; there isn't even an official Debian source package for it in unstable. In the interim, at least one of the library packages the squeeze binary package of rezound depends on has been superseded (libaudiofile0 has been superseded by libaudiofile1). As for twinkle, the version in unstable has a Debian bug of severity "serious" relating to its build system: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=754046 which has apparently received no maintainer attention (not even "works for me" or "closed wontfix") since being filed in July 2014. So yes, unless someone does the necessary work, it seems that these packages are indeed doomed to disappear from debian. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/5498385a.6020...@zen.co.uk
Re: Waiting for what...?
On 22/12/14 03:27 AM, Gábor Hársfalvi wrote: Dear List, I've get updates today but when I wish to see them it always hangs with "Waiting for headers". What happened? Thanks Can you more explicit? What made you think you got updates and what command did you run that gave you the message "waiting for headers"? Was there any output before that? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/5498343d.9010...@torfree.net
rezound, twinkle in jessie ?
Hello, I installed jessie on a external hard drives, (usb) I use rezound and twinkle which are in squeeze only. They work fine in jessie but the command "apt-get dist-upgade" propose to me to remove five packages and among them rezound and twinkle. My question: rezound and twinkle are they doomed to disappear from debian ? tia. -- Gerard ___ *** * Created with "mutt 1.5.21-6.2+deb7u2" * * under Debian Linux WHEEZY version 7.7 * * Registered Linux User #388243 * * https://Linuxcounter.net * *** -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20141222123116.GA7254@mauritiusGA
Re: USB drive mounted Read-only; what to do ?
On Monday 22 December 2014 10:29:51 Tixy wrote: > On Sun, 2014-12-21 at 16:46 -0300, Renaud OLGIATI wrote: > > On Sun, 21 Dec 2014 19:30:39 + > > > > Brian wrote: > > > > Only fly in the ointment is that gparted still complains that: > > > > Unable to open /dev/sdi read-write (Read-only file system). /dev/sdi > > > > has been opened read-only. > > > > > > Hve you not yet come to terms with the fact that your USB stick has > > > cocked its toes up? > > > > I still doubt that, given I can read the contents. > > It's my experience that SD cards and USB flash drives eventually go > read-only, presumably when there are no spare working flash blocks left > to replace those that have worn out. Some cheap ones I've had have only > lasted a mater of months, other are going strong after many years. Renaud has the only 100% reliable USB stick ever manufactured. ;-) Lisi -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/201412221032.43035.lisi.re...@gmail.com
Re: USB drive mounted Read-only; what to do ?
On Sun, 2014-12-21 at 16:46 -0300, Renaud OLGIATI wrote: > On Sun, 21 Dec 2014 19:30:39 + > Brian wrote: > > > > Only fly in the ointment is that gparted still complains that: > > > Unable to open /dev/sdi read-write (Read-only file system). /dev/sdi has > > > been opened read-only. > > > Hve you not yet come to terms with the fact that your USB stick has > > cocked its toes up? > > I still doubt that, given I can read the contents. It's my experience that SD cards and USB flash drives eventually go read-only, presumably when there are no spare working flash blocks left to replace those that have worn out. Some cheap ones I've had have only lasted a mater of months, other are going strong after many years. -- Tixy -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/1419244191.2592.12.ca...@yxit.co.uk
Re: Re: Skipping fsck during boot with systemd?
>> Pretty damn inconvenient and un-discoverable if you ask me. >> So I think this deserves a bug report. > > Don't get carried away and start typing. > > #758902 Yeah, This bug is bound to bite everybody at least one... probably more Severity of this regresion bug is wishlist and maintainer doesn't seem to be willing to budge... go figure cheers -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/5497e2c1.6060...@gmail.com
Waiting for what...?
Dear List, I've get updates today but when I wish to see them it always hangs with "Waiting for headers". What happened? Thanks