« first day (1200 days earlier)      last day (4052 days later) » 

03:58
@FaheemMitha @slm Okay.
 
4 hours later…
08:20
morning, guys
08:38
@setevoy good morning
slm
slm
09:15
Debian users. I attempted to A this Q, if you get a chance please review my A. I'm not a Debian user but wanted to try and get this Q updated, and also gain some experience in using Debian in the process. Please be kind 8-)
0
A: How to install Adobe Acrobat Reader in Debian?

slmTo install Adobe Reader on Wheezy or higher you can use the following steps. Step #1 - Download Adobe maintains all the official versions of Adobe Reader on their FTP site so you can simply go there and download the latest version, packaged as a .deb file. The primary URL for all versions of ...

 
4 hours later…
13:00
hey guys,
i seem to not find /usr/share/X11/XKeysymDB on my debian jessie
any idea where it might be/or equivalent?
(trying to map my multimedia keys)
slm
slm
Try the command locate XKeysymDB
nothing
i guess it's called smth else on jessie
slm
slm
Here's where it's reported to be in wheezy
/usr/share/common-lisp/source/cmucl-hemlock/XKeysymDB
i guess i will have to install that package from unstable
that package=cmucl-source
/usr/share/common-lisp/source/cmucl-hemlock/XKeysymDB	cmucl-source [s390]
/usr/share/xemacs-21.4.22/etc/XKeysymDB	xemacs21-support [not s390]
the xemacs21 is the one you need for jessie
13:56
er... guys... can I set cron task like "0 0 0 1 2021" ? e.g. need start it in 2021 year :)
slm
slm
14:11
@setevoy - no there is no year column in cron
see man 5 crontab.
search for year, it's not in there
> Year No 1970–2099 * / , - This field is not supported in standard/default implementations. // but not in CentOS cron :-( you are right...
do you know how to set cron in future? like 2021... or better create Q?
slm
slm
To run things in the future by a year you can tell at to run it either based on something like now + #days till 2021 or at MMDD[CC]YY
not this time... can't use AT - it's inside application files
only cron... ok, will google else...
Add a cron job that executes every 1 Jan to email you "If it is the year 2021, add the job you asked U&L about in 2014"
hm... good idea :)
14:16
Or you could use cron to call a script that checks the year before calling the real script
slm
slm
casey's idea was the other one
you can use the @yearly timespec in cron
thanks to all ))
14:43
@Braiam thanks but these numbers dont coincide with the ones i need that i took from xev
i'm trying to follow this tutorial: wiki.debian.org/Keyboard/MultimediaKeys
:'(
i will try to find another tutorial
you might want to update your answer @slm unix.stackexchange.com/q/110256/41104
15:15
@slm Looks good to me (and upvoted). You certainly took a lot of trouble over that, but personally i would try to steer people away from acrobat reader.
slm
slm
@FaheemMitha - as would I but there are 2 use cases that you can't. Certain pdf docs have to use it if they're signed. And ppl have issues w/ printing from anything but acroread.
@slm I think you asked for the wrong info:
➜ ~ sudo fdisk -l /dev/sda

Disk /dev/sda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders, total 390721968 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x1549f232

Device Boot Start End Blocks Id System
/dev/sda1 * 63 223629311 111814624+ 7 HPFS/NTFS/exFAT
/dev/sda2 225724416 300576149 37425867 7 HPFS/NTFS/exFAT
you should have asked for sdb not sdb1, the output of fdisk is quite a mess
slm
slm
@Braiam - no the output he gave us looked right to me.
It had the partition types in it, 4f is some weird partition for QNX linux.
mm... in my NTFS drive if I use fdisk it appears the same output than OP, so it should be NTFS
15:20
@slm you are looking inside an NTFS partition, not at the MBR partition table (apparently the NTFS has some partition scheme QNX like)
if you use sudo fdisk -l /dev/someNTFSpartition it will yield the same result as OP
@slm check op's last edit ;)
slm
slm
WTF
NTFS is composed of QNX4 and SpeedStor like filesystems... apparently
slm
slm
15:33
@Braiam - what a waste of time that was
bad Q's
+ the OP should've known what the hell disk it was he was mounting, I really hate those types of Q's
Now it's trainwreck of A's
I waited until I had definitive proof that it was an NTFS (I had the answer written before hand and only submitted it when op shown the info)
@slm :P
slm
slm
@Braiam - yippie skippie 8-)
@terdon comes and saves the day :D
oh god... is in the hottest Q list!!!!!!!!!!!!!!!!!!!!!1
15:51
@slm Agreed. I don't run into these issues myself, but some people might.
slm
slm
@Braiam Who was the person that asked him to run blkid? Did they tell him to run it as sudo blkid? That issue would've been resolved w/ that 1 change 30 mins. earlier.
in Ask Ubuntu General Room, 44 mins ago, by Avinash Raj
@Braiam i don't know why blkid command doesn't show anything.
slm
slm
@Braiam mine too
Someone's not going easy 8-)
16:39
@slm Ok, I'll give your instructions a whirl and report back here.
re the debian acroread answer
slm
slm
i'm doing them now too
17:33
debian-multimedia.org now occupied by some strange Russian squatter. Motorbikes, yet.
slm
slm
17:54
yes it's deb-multimedia.org now
but even that didn't work when I tried, there is a link to a thread in the debian mailing list that shows Christian (the guy that operates deb-multimedia) and the rest of core and they're having it out.
@slm I finished the installation. I now get
/opt/Adobe/Reader9/Reader/intellinux/bin/acroread: error while loading shared libraries: libxml2.so.2: cannot open shared object file: No such file or directory
Checking this...
slm
slm
you didn't install ia32-libs ia-32-libs-gtk. You need the 32-bit ver. of that package.
hence the 2nd install
i didn't know how to explicitly install 32bit packages in deb
so i had to lean on apt-get install -f
@slm No, the correct thing to do is
apt-get install libxml2:i386
Also, the --force-arch flag is not needed, as I said earlier. Do you want me to add a comment to your answer?
slm
slm
ah thanks that's what I didn't know how to do in deb
yes I'm going through it again now too and realized that I'm editing the A as we speak w/ the changes
@slm These packages are obsolete, I think.
Now there is a complete parallel system for every supported arch.
18:00
@slm err... multiarch
@FaheemMitha use gdebi instead
slm
slm
yes multiarch
huh?
@Braiam gdebi for what?
ah, the dpkg -i thing
sudo apt-get install gdebi-core
slm
slm
member I'm RH not Deb/Ubu
yes, i can never remember that
slm
slm
18:00
what is this?
@slm automatically resolves dependencies if possible
so you don't need to do dpkg -i and then apt-get -f install.
while installing a package manually
i suggest you test that, and if it works, then put it in your answer.
though this really should be part of apt-get.
i think there is a wishlist bug somewhere.
slm
slm
I'll write up both methods
Depends: libgtk2.0-0 (>= 2.4)
slm
slm
18:02
yeah apt-get ia32-lib ... get's that one if I change the ordering around, I didn't have that issue this 2nd time.
sudo gdebi AdbeRdr9.5.5-1_i386linux_enu.deb
slm
slm
dpkg -i AdbeRdr9.5.5-1_i386linux_enu.deb
Selecting previously unselected package adobereader-enu.
(Reading database ... 143877 files and directories currently installed.)
Unpacking adobereader-enu (from AdbeRdr9.5.5-1_i386linux_enu.deb) ...
Setting up adobereader-enu (9.5.5) ...
Processing triggers for man-db ...
This one is pretty old. bugs.debian.org/47379
Probably someone should push this one.
slm
slm
My amended steps work without any errors
seems relatively straightforward now.
crap i forgot to make a restore point in virtualbox before doing this
@slm You don't need step 2.
slm
slm
18:07
3rd times a charm,
sudo apt-get install ia32-libs ia32-libs-gtk
slm
slm
pretty sure i do
what installs them?
the apt-get install -f
@slm See above. you should have apt-get install libxml2:i386
@slm No, that bit is fine, if you are using dpkg -i.
The problem is that adobe did not specify a required dependency. it is a packaging bug.
So, to summarize 1) dpkg -i + apt-get -f install (or use gdebi instead as @Braiam suggests). I do recommend mentioning gdebi.
2) apt-get install libxml2:i386
4 isn't really optional, if you use dpkg -i. I would merge 3 and 4 into a 3a and then have a 3b for gdebi.
since dpkg -i + apt-get -f install are really two parts of one command, but are used like that of apt's missing feature.
@FaheemMitha adobe doesn't need libxml2...
Then 4 would be just invocation of the command. I think your 4 and 5 are basically the same thing.
@Braiam I think it does.
18:13
dpkg-deb --info AdbeRdr9.5.5-1_i386linux_enu.deb
 new debian package, version 2.0.
 size 60085406 bytes: control archive=2935 bytes.
     439 bytes,    10 lines      control
      22 bytes,     1 lines      copyright
    7722 bytes,   183 lines   *  postinst             #!/bin/sh
    5586 bytes,   183 lines   *  prerm                #!/bin/sh
 Package: adobereader-enu
 Version: 9.5.5
 Section: publishing
 Priority: extra
 Architecture: i386
 Source: adobereader-enu
 Depends: libgtk2.0-0 (>= 2.4)
I got the message:
only libgtk2.0
/opt/Adobe/Reader9/Reader/intellinux/bin/acroread: error while loading shared libraries: libxml2.so.2: cannot open shared object file: No such file or directory
arg!
@Braiam They forgot the dependency.
18:13
(can't believe this retards)
apt-file search libxml2.so.2 points to libxml2
@slm I suggest adding that error message and the apt-file command.
or shall i just edit it myself? might be easier.
slm
slm
18:41
@FaheemMitha Edit it please, I'm actually at work and am only 1/2 following.
@slm Ok, will do.
slm
slm
thanks
19:07
@slm Ok, I think I'm done. More work than I expected, I would prefer a 2a and 2b, but markdown or whatever doesn't seem to be able to cope.
@Braiam Comments?
slm
slm
@FaheemMitha - you realize the method I used before didn't get the libxml2.so.2 error message. Why is this better?
@slm I think you will installing the transitional libs, is that right?
slm
slm
yeah the ia32-libs
what are those?
ia32-libs-gtk
Those things are obsolete, since multiarch appeared, and in any case, there was no motivation giv for the installs.
@slm before multiarch that was how one installed 32 bit libraries on 64 bit. you don't need to do that any more.
as of wheezy.
slm
slm
k
19:09
you notice all my steps are motivated by the situation.
no extraneous installs.
slm
slm
yup
@slm If you want you can check it works.
@Braiam ditto.
slm
slm
@FaheemMitha I will, I'm rebuilding my VM now.
@terdon you use debian, right? what do you think?
odd to be spending so much effort telling people how to install a proprietary package.
@FaheemMitha about? I just logged in
19:12
@terdon @slrn's answer -> unix.stackexchange.com/a/110207/4671
I just edited it.
slm
slm
@FaheemMitha - watch the edits now, it's up to 7, I don't like my posts getting converted to community wiki A's. I like to keep ~3 in reserve for future edits that might need to occur.
@MichaelMrozek - can you disable community wiki conversions on any post if we ask or is it not something that is requestable? You did it one before for me but I wasn't sure if there was any kind of policy about it.
@FaheemMitha and @slm, I install it directly from LMDE's repositories.
That should work perfectly well for Debian as well
slm
slm
@terdon - write that up as an A too then.
@slm It almost never comes up, but I suppose so. You shouldn't really need to edit your posts 10 times, generally
@slm trying to figure out how I can get the .deb without necessarily adding the repo.
slm
slm
19:21
I didn't
mm... how was that I found the libraries needed by a binary?
slm
slm
@MichaelMrozek - Yeah I know, I was just wondering. I generally don't.
@slm I think it only gets to be CW if the author edits 10 times, not anyone
is if 5 users apart OP edits
Yeah, it's 5 different users, or 10 edits by the original author
slm
slm
19:22
10 or 3 ppl edit
5
@MichaelMrozek - Ok so the 10 counts as just me
i thought it was a combination of all 5 ppl
ldd /usr/bin/acroread
	not a dynamic executable
:(
file /opt/Adobe/Reader9/bin/acroread
/opt/Adobe/Reader9/bin/acroread: POSIX shell script, ASCII text executable
D:
slm
slm
ldd is the right tool
or nm
doesn't work against shell scripts 8-)
there's your NTFS/QNX for the day 8-)
oh god... I can't find the executable to do an ldd and verify the dependencies D:
there it goes pastebin.com/ranEJKG2
depends of libpango... mm... couple things more
@FaheemMitha you might want to check this out and add all the correct dependencies D:
@Braiam ldd /opt/Adobe/Reader9/Reader/intellinux/bin/acroread
dpkg -L adobereader-enu and check the paths with bin in them
3 mins ago, by Braiam
there it goes http://pastebin.com/ranEJKG2
there's a bunch of libraries that acroread has depends
19:33
@Braiam Why? If Adobe can't be bothered to do it correctly, why should I care? If they really needed, then it will crash.
@Braiam Yes, I see a bunch of things that don't resolve. Odd.
In any case, apt-file has not heard of libBIB.so, for example. So not much I can do about it.
Or two others i tried. wonder how Adobe built these binaries.
Proprietary software is weird.
That it is. You either get binaries that depend on a very specific environment / distro setup or you get something like steam that just bundles all its dependancies with it rather then even trying to use system libraries
@casey Agreed to all of the above. Though I rarely, rarely, use proprietary software. Usually, I run away screaming. And I could practically hear the reproachful voice of Richard Stallman (he has a very distinctive voice) in my head all the time I was editing that post. :-)
Someone should edit the Steven D post, but it isn't going to be me.
19:50
Guys, why are you all working on this >3 year old question? What's the point?
@terdon To help Adobe get more Linux users? :-)
20:08
@terdon bounty, answers are too old and needs update :P
I'm just thinking it's not worth the effort.
slm
slm
@terdon - I wrote it up b/c there was a bounty on it and saw the original A was wrong + wanted to setup a VM of Debian to work on these types of Q's on the site.
If you google around there were a fair amount of ppl that didn't know how to install reader. It's needed for certain docs (secure PDFs) and printing issues with evince and others.
Ah, for some reason the bounty was not shown. I refreshed and can now see it
slm
slm
I saw that no one had even attempted to A the guys bounty and was trying to help him out.
+ I now have a VM of Debian so watch your backs 8-)
OK then, posted my LMDE answer
@slm damn, there goes our last edge
:)
slm
slm
20:12
pfff
@terdon This 100% compatible with Debian thing. What is the statement exactly?
@FaheemMitha LMDE is Debian
what do you mean?
@terdon What version of debian?
testing
the point is that LMDE and Debian can mix repos while LMDE/Debian and Ubuntu cannot
20:23
en.wikipedia.org/wiki/Linux_Mint#Linux_Mint_Debian_Edition suggests that this tries to stay synced with testing. which might not work for stable.
@FaheemMitha that's irrelevant, it's how the new releases are rolled out. It should not affect an individual package installed from the repo
@terdon it could be an issue. stable and testing are binary incompatible much of the time. though i don't know if this is an issue in practice with proprietary software.
@FaheemMitha why would you be mixing stable and testing? Who said anything about stable?
All my answer says is that you can get a deb from LMDE's repo.
@terdon Fair enough.
@terdon The original answer referenced squeeze, which was stable at the time.
slm
slm
I don't really understand the issue, nor really want to at this point, I just focused the A on wheezy which as I understand it is the current debian stable, right?
20:30
@slm I think your answer is the best since it is not dependent on the details: just get a deb from adobe's website. The other options (including mine) will be simpler if all goes well but can degenerate into dependency hell if you mix and match repositories.
@slm Right.
slm
slm
that's pretty much the same issue w/ RH, thanks I understand it now.
I usually get the reader rpm and install it myself on fedora too
adobe used to have a yum repo but i think they got rid of it
so i would just put the .repo file on a box and yum install adobereader
Christian's stuff is usually ok for simple things. Some of his multimedia stuff is incompatible with Debian, so that has caused problems in the past.
And made him unpopular in some circles.
slm
slm
I know this is a old Q and seems worthless b/c of the proprietary nature but I appreciate everyone's help in cleaning it up
this issue was poorly documented all over the internet so now we have the best details which is good for our site.
even though it's a low traffic type of Q&A I'm sure there will be ppl that will appreciate that we did this, even the Debian wiki had crappy directions
evince is a pretty good viewer these days. what do people use for viewing pdfs, mostly?
slm
slm
20:36
@FaheemMitha - you can delete your command about the force-arch. now
evince,xpdf,kpdf
i use whatever looks the best for some docs
@slm done.
@slm Ok. Used to use xpdf, now use evince mostly
like the auto-update feature, which xpdf does not have.
good for LaTeXing.
Mike Bayer moved to github too. Arrgh.
Ok, probably nobody here cares.
is evince 3.10 substantially better than 3.4 in any way?
20:53
@FaheemMitha I use Okular, which also has auto-update. great for when I'm working on a paper in latex or generating eps figures
@casey how does it compare to evince?
I think I slightly prefer okular, but I'm not sure I know why. If I went back to a gnome DE I'd probably switch back
but only because I'd nuke my KDE deps if I did that
I dont really make use of any advanced features of either, so I can't compare much except they both worked for reading and auto-updating
@casey Ok. I've used okular, but somehow i prefer evince. Not sure why either.
@casey I thought everyone did pdf figures now. For LaTeX at least.
I don't mind pdf figures, but by default I do eps. I'm set in my ways I guess
@casey Ok. ps usage in TeX seems to be dropping. Once it was the standard.
Good night, everyone. Take care.
21:04
It is still preferred in the journals I submit to, and I like it :) I hate word....
night
@casey I meant, postscript usage in TeX is dropping. :-) Not that TeX usage is dropping. I have no idea if the latter is true, and would be difficult to establish anyway.
21:22
ah

« first day (1200 days earlier)      last day (4052 days later) »