For a while now I noticed that aptitude is very slow on one of my
machine (Thinkpad T61) running Debian testing. At first I thought it
was because its disk (a fairly old 120GB SSD) was suffering from some
kind of problem, so I replaced it with an almost new 240GB Samsung 840.
It seemed to bet
>> probably do not support the hardware anymore). As new versions of Mac
>> OS are no longer supported on this computer, would it be possible to
>> install Debian Linux as the default OS on this machine
Without a doubt. Have you tried and encountered problems?
A trivial search for "install
freedomfromr...@redchan.it writes:
[ blabla ]
I see you're probably new here: I think we need more info to be able to
help you; for example you might start by telling us which version of
Debian you're using,
Stefan
> [...]
>> >The benefit is that one cannot pinpoint the real attacker, of course.
>> Isn't the same benefit provided by just forging the source address ?
> If all the routers in the path play along... but then, they are all
> broken.
There's also the fact that all those RST packets can come from
>> BTW, am I the only one here bothered that his 250MB /boot partition
>> tends to fill up, even though a 500MB HDD was plenty to hold the whole
>> OS plus lots and lots of free space, on a 64bit workstation like the
>> original DEC Alphas?
> you may consider removing old images that you do not
> BUT, /boot is kinda critical (thus "ext2 is simpler"), BUT "data
> journaled" actually might be most sensible for /boot - ext3/4 by
> default (AIUI) only journals metadata, so that the fs is at least
> readable/ sane from kernel perspective, but when booting, we REALLY
> want sane data to be
> So, make /boot a big larger, say couple GiBs, and set data=journalled
BTW, am I the only one here bothered that his 250MB /boot partition
tends to fill up, even though a 500MB HDD was plenty to hold the whole
OS plus lots and lots of free space, on a 64bit workstation like the
original DEC
> I can't find any evidence for that without being told where to look.
It was in the previous message:
https://packages.debian.org/sid/libmpfr4
https://packages.debian.org/sid/libmpfr6
>> Doesn't explain why one says "Package: libmpfr4 (3.1.6-1)" and the other
>> says
>> Funny thing is, this is what the versioning says on those pages:
>> Package: libmpfr4 (3.1.6-1)
>> Package: libmpfr6 (4.0.1-1)
>>
>> ...ok, that's strange. Even weirder, they are both built from the same
>> sources: mpfr-4.0.1-1.
Indeed, I find that odd.
I suspect that the "3.1.6-1" in the
>> I'm of the opinion we're all running different machines with
>> different sets of software, and this explains that (could be wrong,
>> though).
> I was just -so- sure we all had the exact same installs.
All joking aside: I've been maintaining about 4-5 Debian machines, all
using Debian testing
> Yes. The all-in-ones are terrible at that, proprietary software or not.
FWIW, the XSane thingy worked fairly well for me with my last all-in-one
(using the HP driver bundled with Debian). It definitely worked much
better than with the crappy software they provided for Windows (I got
the
> If you meant hplip drivers, which are available from Debian
> repository, then I wonder what actually makes them so much "from
> Debian"? IMHO, their avalability from Debian repository does not
> really make them particulary "Debian". They are still developed by HP
> or their development is
> Note that these settings use PCL6 emulation. Models that lack PCL6 support
> may need proprietary Brother CUPS drivers. When I checked, these were only
> available for i386. When I switched to the foomatic PCL6 driver, I was able
> to ditch the i386 drivers and my entire i386 arch support. This
> I used to own MFC 7460DN. I own currently HL-L2389DW wireless -e xcellent
> unit. Any of them work under Ubuntu, Debian (my current distro), Fedora,
> OpenSuse, etc. without a problem. Installation is a breeze. The drivers
> available on Brother website.
Wait, does that mean the printer is
> I have what is essentially a "USB->Serial" - "Serial->USB" Cable.
> Ethernet is *NOT* involved - though there are topological similarities.
I don't have factual knowledge of what you have, indeed, but you said:
I have purchased a USB Host-Host cable based on the PL-25A1 chipset.
While
> That's your perspective (as someone who's stated that you have no experience
> at this). From the perspective of the people who tried to help you, you've
> chosen an obscure solution rather than a well-tested and well-documented
> solution for no apparent reason. (ROFL?) From the perspective of
> Which strikes me as a bug, not a feature. I'm not familiar with the USB
> specification but it seems to me that sharing USB ports, speakers,
> microphones, network ports, etc. should all be possible. While one host, the
> hypervisor, may control the actual port, others should be able to
>
>> [...] Wall, in the wrong hands
>> can be quite a nuisance so that's the sort of power one must be
>> careful about. In this case, it doesn't really matter since I am
>> the only user.
> It has since been superseded by Javascript, web page popups and
>
> The one choice you have is that one of both sides takes a step
> back and plays "gadget" (the jargon term, somewhat unfortunate
> as search engine fodder). There seems to be something out there
> for that, e.g. [2].
The gadget API is the programming API offered by the kernel for the OTG
ports:
>> In some cases one of the two computers's USB port is an "OTG" port,
>> meaning that it can act either as "master" or not, in which case you can
>> just use a regular USB cable (and usually you then configure the OTG
>> side to pretend it's a network card, so it ends up looking to the
>>
> If none of that are options, you can resort to using an "ethernet
> dongle" on both sides and an ethernet cable between the two.
[ If one of the two computers has a free ethernet port, you can of
course also such a dongle on the other computer. ]
BTW, those ethernet dongles can be found
> I have two computers with USB ports.
> I wish them to communicate as simply as mid-20th-century computers did.
What kind of "communicate" do you need there?
The "way back machine" to simulate a "null modem" serial cable exists,
as you've seen, but it's rarely the best solution for nowadays's
> I used it at my previous job, and it works fine. Bonus: it has Debian
> packages, and it is Free Software.
I only see packages for the client side.
Is there a Debian package for the server side (like there used to be
for owncloud)?
Stefan
Alberto Luaces writes:
> Joe writes:
>
>> On the assumption that you are using a router of some kind, your public
>> IP address will be that of the router WAN port (cable, ADSL, etc.) and
>> there will be a method of determining that by connecting to the router
>> as an
> Curious .. Why do I get two of every posting. What setting do I need to
> change.. Thanks Jerry
Search for the "Skip every other posting" option.
Stefan
> [*] backup, umount/swapoff, resize2fs/mkswap, mount/swapon, (unlikely but
> possibly: restore)
lvextend --resizefs ...
will work without you needing to unmount the file-system.
Stefan
> I spend some time yesterday on IRC (#emacs) and it seems it is a bug
> related to the language (French). Another french user was affected but
> didn't find a solution. The problem is still present when starting
> emacs with the `-q` option.
Then I recommend you file a bug about it,
> Yes, documentation of firmware is almost unknown in my experience
> (since probably 30 years ago). That's why I took the least invasive
It's documented to the extent that it says "implements UEFI" and that
UEFI is documented.
>> Same here (basically for the same reason: the behavior of the
>>I have the following error when activate flyspell-mode (with hunspell
>>set as the default dictionnary):
>>
>>"Error enabling Flyspell mode:
>>(UTF-8)"
>>
>>My flyspell configuration (below) worked flawless for years.
>
> No one is affected by this bug in debian sid?
> I tried different ways to
> That said, there are other statements that are odd:
Not sure what you find odd about them:
> "I really can’t recommend strongly enough that you do not attempt
> to mix UEFI-native and BIOS-compatible booting of
> permanently-installed operating systems on the same computer, and
>
> Following is a bash script which challenges the disk's fidelity in
> respect to small writes on a relatively small file over a long time.
I see no indication *at all* from Gene's description that the problem
could have anything to do with the OS or the hardware.
My guess is rather that his
>> A big, rapidly blinking BLOCK cursor would help these old eyes find
>> it a lot easier. But in 20 years thats fallen out of style, dammit.
100% idle state is important to reduce power consumption, so blinking
while otherwise idle is to be avoided in general, yes. But it's OK to
blink when
>> So the actual disk isn't to blame (cat'ing a file that was just saved
>> won't look at the disk anyway).
> Whats it look at 5+ minutes later?
Same difference: if `cat` can't see it, then the change hasn't been
received by the OS at all (even less so by the underlying disk).
> The file had not
>> > And eventually the updates made to the file are not actually saved,
>> Can you be more precise than "eventually"?
> Probably 100+ edits and saves over 4 or 5 hours.
>> More importantly: what makes you think they're not actually saved?
> Going to another shell and cat'ing the file shows the
> And eventually the updates made to the file are not actually saved,
Can you be more precise than "eventually"?
More importantly: what makes you think they're not actually saved?
Stefan
> curty@einstein:~$ apt-cache search integration | grep continuous
> debci - continuous integration system for Debian
> debci-collector - continuous integration system for Debian (collector daemon)
> debci-worker - continuous integration system for Debian (worker daemon)
> trac-bitten - continuous
>> UUIC that's partly why it's finally losing popularity and being replaced
>> with json for that use. I'm not familiar enough with json to know if
>> it's really a good replacement, but it does look like an improvement.
> that is simply not true.
Did you read the text to which I was responding?
> But (mis-)using it as a data serialization language must be one
> of the worst (and ugliest) misunderstandings IT has had the last
> 20 years.
UUIC that's partly why it's finally losing popularity and being replaced
with json for that use. I'm not familiar enough with json to know if
it's
> Actually people saying mbox is a bad database are in principle right
> (I never liked maildir either: dumping metadata into file names seemed
> to me a bit disgusting too, but I disgress). But there's something
> special about mail databases which eases that a bit: records (i.e.
> mails) are
> You just seem to have Decided, for reasons known only to you, that
> The Character Length Of A String Is Not Useful. Despite literally
> decades of programs that have used strlen() in various ways.
strlen was mostly used in a context where char-length = byte-length =
display-width. Most of
>> > What is the length of a string?
>> When is that relevant?
> When you're trying to display one on a screen, or print one on paper.
To display a string you don't just need its length, you need the actual
bitmap representation, and getting info such as length is trivial once
you've rendered the
> I have an extremely simple real-world litmus test which every system
> I've ever seen so far has failed:
>
> How do I set MAIL=$HOME/Maildir/ in the login environment of every
> user, regardless of their shell, or how they log in (console, ssh,
> X Display Manager, GNOME Display Manager,
> I'm running with a 'nouveau.noaccel=1' kernel parameter added at hand
[...]
> Is there any way to deactivate and reactivate such a parameter without
> the need to reboot?
You can try and change it with
# echo 0 > /sys/modules//parameters/noaccel
-- Stefan
> My new 2TB HD just arrived. Old 1.5TB to be rescued, made in 2010, has
> 8 pending sectors reported by smartctl.
FWIW, there's a good chance that your old drive is still perfectly
usable: after backing up your data, a pass of overwriting the whole disk
(e.g. dd /dev/sdXX) will probably bring
> An alternative is org mode in Emacs if you have Emacs already
> installed. Simple spreadsheet capabilities in tables.
There's also SES, also part of Emacs (i.e. C-x C-f .ses RET should
get you started). And Emacs being what it is, there's also the Dismal
package, which you can install from
> I will agree that it increases the unpredictability of execution time,
> and if I wanted to guarantee I could meet deadlines I'd turn it off.
Turning it off may indeed improve predictability of execution time in
some cases. Especially if the various active threads have different
real-time
> Can someone advise me of the best-practice way to completely disable
> Hibernation system-wide?
I don't know the "best-practice way" to do it, but a hackish way you can
do it is by adding
touch /var/run/do-not-hibernate
to your /etc/rc.local.
Stefan
> since my bank forced me to an upgrade to Firefox 58 I am runing into the
Just install UAControl (or any other such plugin that lets you control
your user-agent string) and keep using the version you prefer.
Stefan
> I'm using XEmacs 21.4.24 and gnome-terminal 3.26.2 in sid. And I can't copy
> a text from the terminal and paste it into XEmacs. I have tried marking the
> text and then middle button; Shift-Ctrl-C and then right-button to get the
> 'paste' option; and some other combinations of these. Nothing
>> What is the recommended method for preventing grub from using UUIDs to
>> refer to filesystems in the current Debian stable distribution?
> One method for you use case it to put /boot or at least /boot/grub
> in a plain partition on the same disk as GRUB's core image.
Indeed, that's what I
> It was installed because CraftCMS depends on it :)
Care to give some details? E.g. *how* was it installed, then?
IIUC your system needs it, so the removal caused some breakage (which
is why you noticed the issue).
Normally APT only auto-removes packages which are marked as
"automatically
> ... where Linux (as an OS--yes, I see you coming from here)
We usually call it GNU/Linux,
Stefan
> Is it correct to call branch prediction the same as speculative execution?
Not really: they're closely related yet different.
Stefan
>> With TLB cache and all that? Pretty impressive :)
> I am not sure about the 68010 and its separate MMU. But beginning with 68020
> there surely was memory space separation per process and cache memory in the
> CPU.
The 68020 didn't have an MMU on chip (it required a separate chip
(MC68851) if
> Hello, I want to buy a old Sony compact digital camera which supports
> only Memory Stick, a removable flash memory card format, before buy it,
> I get its memory card to check is it supported under Linux or not.
FWIW, if you use a USB-connected card reader, then the physical media
doesn't
> The weakest link in most chains of Data protection is the person that
> has access to it.
And rather than breaking knuckles, sometimes it's more ...elegant.. to
just fool/seduce the target,
Stefan
> It has an antenna. A sharp knife or some conductive tape or adhesive
> and Bob's your uncle.
Hmm... I thought the antenna on those devices nowadays are physically
just traces printed on a PCB. They're not necessarily very easy to find
AFAIK (hell, just opening the device such that you can
> Disabling the radio in a smartphone should be easy.
^^
As a moral imperative, I agree. In practice it seems to be harder than
... it should
Stefan
> I'm interested in investigating cumulative data to/from the internet for
> selected interval ranging from an hour to a week.
> My only connection is a device connected thru a USB port.
> My web search turned up only discussion of measuring throughput RATE.
> Suggestion of keyword(s) for search?
> I had the same situation with my Sandisc Exreme thumb drive before! Here
> heparin reports TRIM too, and fstrim failed too. At that time I thought
> that the problem is the thumb drive controller.
hdparm's report mostly comes directly from the drive within the
enclosure. So all it says is that
> I have had Debian up on my Xiamo smartphone. I believe it uses the existing
> kernel. Had a xwindows as well but did not like the interface. In the end,
> question was what to do with it.
One of the first things I do with a Debian install on those devices:
run an sshd daemon which lets me
> If you want a smartphone but don't want a smartphone, it sounds to me
> as if you want a smartphone with no SIM card. It's possible that this
Indeed. I was looking for a "modern walkman" and the best and cheapest
option nowadays is to get a smartphone for that (and simply not use the
phone
> Who's saying it must be installed? Maybe I've missed something, but I think
> the consensus in this discussion was that if you want your resolv.conf to be
> unmanaged/static/administrator-controlled, then don't have resolvconf
> installed.
This is a ridiculous idea. This thread is about a user
>> Granted, it might be nice if resolvconf had an easier way to configure
>> a static setup, but as it is now packages that need to access
>> resolv.conf should do this through resolvconf if it is available, so
>> installing and configuring it *is* the right way to handle this.
> I must argue
>> > If Debian developers who are responsible for resolvconf are reading this,
>> > and if they actually CARE about making things work correctly and sensibly,
>> > then here is yet another proposal: give us a way to QUICKLY and EASILY
>> > and RELIABLY tell resolvconf "never do anything".
>>
> If Debian developers who are responsible for resolvconf are reading this,
> and if they actually CARE about making things work correctly and sensibly,
> then here is yet another proposal: give us a way to QUICKLY and EASILY
> and RELIABLY tell resolvconf "never do anything".
`resolvconf` only
> I am not willing to accept
And what are you going to do about that? Sue us? Sue Debian Inc. ?
> that there is no way to identify what is going on that is causing
> resolv.conf to change.
BTW, maybe one way to identify the culprit is:
- install resolvconf [ I know it sounds bad, but bear
>> Also the solution I showed has the advantage that when he stops his
>> bind deamon, he still gets his host names resolved (via the
>> DHCP-provided DNS server).
> Even for shop.coyote.den?
Of course: for all host names he cares to use.
And obviously, his DHCP-provided DNS server will answer
> Yes. Still the open question remains: why is it being changed although
> the "immutable" attriibute was set?
I'm not sufficiently familiar with the "immutable" attribute to answer
that, sorry.
Stefan
>> I just gave you a solution to your underlying problem, which *uses* the
>> infrastructure rather than fighting it. I won't force you to use it, tho.
> I thought the canonical method which was discussed in the
Depends on "method to do what?".
A static resolv.conf is basically a concept from
>> With such a setup, your host should correctly use your local `bind`
>> server, and if you ever stop your `bind` server it should start using
>> your ISP's server instead. And when you restart your `bind` server, it
>> will switch back to using that.
> That is not at all what I am trying to
> My /etc/resolv.conf looks like this:
> domain example.com
> search example.com.
> nameserver 127.0.0.1
Here's how I'd do it:
- install resolvconf
- move the resolv.conf config you use with bind to somewhere else, like
/etc/resolv.conf.bind
- arrange for the script which starts your `bind`
>> Now "import" is quite another kettle of fish: it's part of the
>> ImageMagick suite (not much to do with X, actually), which has the
>> (questionable) tradition of calling its things "display", "convert",
>> "identify", "compare"... or even "conjure"). Now ImageMagick is so
>> useful that
> "Unti recently" because there now is a way to do data retention, but:
> "bup only has experimental support for pruning old backups."
Indeed, it's a relatively new feature, but it's been working fine in
my tests.
Stefan
>> However, the virtual hard disk is a pretty large size. My method
>> compresses it further so that the size of the backup is much smaller.
> Have a look at "borg". It is ideal to backup VMs (or anything using
> large files with only marginal changes inside) and I have been using it
> for my
> I have a need to sort lists of URLs and associated titles formatted as
> follows:
>
>* [[][]]
>
> e.g [[http://www.google.com][Google search]]
>
> I'd like to get a simple sort routine to do that.
In my quick test,
sort -t '[' -k 4
seemed to do the trick,
Stefan
> Yes for VM it is possible only if you use ESX server and licensed VM Ware
Then better use Free Software, such as kvm, VirtualBox, ...
Stefan
>> There are the so called snapshots, which you can make and then include in
>> your back up. No need to down the VM.
[...]
> I may be wrong but I don't think snapshots can be scheduled, but rather
> must be initiated
I have no idea what that means. The way it normally works is that you
have a
> I would like a backup tool that does not bring a million dependencies with
> MBs of files. Something that works on server without X Windows and can
> send backup to an externally attached USB drive. Nothing fancy. No
> network infrastructure. Incremental backups would be greatly
>> Of course it all depends on what you mean by "booting from". AFAICT in
>> Leandro's situation, he's loading Grub from some other disk (probably
>> the main HDD or SSD), so he's already "not booting from the SD card" in
>> this sense.
> By "booting from" I mean everything which is needed to
> That eases problems for Debian servers, I don't see an advantage to me.
Given that there is an advantage (for Debian servers), the question
isn't if there's an advantage to you, but instead if there's
a *dis*advantage to you (or others).
Stefan
> I have a very annoying problem. I can't write to my usb drives (fat32,
> ntfs, etc.) without root permissions. How can I fix this?
How did you mount it? I usually mount those with `pmount`.
Stefan
> This is the 4-in-1 card reader; the one you want you are trying to boot
> from. As indicted by /dev/mmcblk0p1 it is on the PCI bus. 'lspci' should
> display the chip used; one from Ricoh?
>
> GRUB doesn't see anything on this bus (it has no drivers for the device),
> so booting from it is not
I tried "aptitude install Thursday" and that failed miserably.
Then I tried with `apt-get`: same result.
The worst part is that I get the same kinds of failures when I try
"aptitude install this Thursday" or "aptitude install next Thursday".
Stefan "confused about this Debian thing"
> Maybe it's a problem with the battery?
Sounds very much like it.
Try another battery in the same laptop (or the same battery in another
laptop) to confirm.
Stefan
> Note: I still want to keep experimental in my sources.list for the
> cases where I *explicitly* request experimental packages.
I keep these extra thingies commented out in my sources.list and
whenever I want to explicitly request some package from them,
I uncomment the line, redo the `update`
> Could i identify the environment by inspecting the file system (for
> example)? (I imagine the answer there must be 'no', because different
> users could have different environments but necessarily share the same
> file system, but maybe i'm making some unjustified assumptions?)
That's right.
> 1. a search and replace which can include a "newline" in new string.
> 2. display/edit 2 files simultaneously *side by side*
Really?
I find it hard to believe that there could be editors out there which
don't satisfy both of those.
Of course, I'd recommend Emacs, but really: *any* editor
> It'd probably be fairly easy to come up with a backup system based on Git
> (probably not good for whole-system backups, but likely workable for
> homedir backups), but I haven't come across such a thing yet.
Well, for the reference I've now found `bup` which isn't using Git
directly but uses
>> > Having been there and done that, I can assure you that having a
>> > live snapshot system -- rsnapshot or btrfs/zfs native tools --
>> > is more fun and less work for everyone.
I looked at rsnapshot but its behavior is poor when you have lots of
directories with lots of tiny files.
It'd
> I'm not sure it's a "bug" in the "bug report" sense.
Sure looks like a bug to me (not being able to access the accept button
looks like a window manager bug, OTOH. At least with the
window-manager I use (ctwm), I have it configured such that I can move
a window from anywhere to anywhere by
>> I would like to hear some ideas on how to set various environment
>> variables (PATH, MANPATH, EDITOR etc.) in one place that would make them
>> effective everywhere. My "everywhere" means:
>> - X session started through lightdm and ~/.xsession script
>> - Linux console login (bash)
>> - user's
> among others "same UUID" (I know, I know), so no need to change fstab.
Yuck! I recommend you stay away from UUIDs in your fstab. Instead name
your partitions. If you use LVM (which you should do anyway for all
kinds of other reasons) your volumes are already named anyway so there's
nothing
> using something like rsync, which means no duplicate UUIDs, you aren't
> spending time copying sectors that aren't referenced, the SSD gets
> fewer write cycles and it can be interrupted and resumed.
FWIW, copying files has its own form of overhead, so if the drive is
reasonably filled, it'll
> The HDD is a Seagate 250GB 7200rpm, the SDD is a Samsung 250GB EVO 850.
> The total capacity matches exactly.
You mean they really have *exactly* the same number of blocs?
> dd if=/dev/sda of=/dev/sdb status=progress bs=4K
FWIW, after doing that, I'd recommend you look at the partition table,
> Basically anything that can run Debian and has two suitable
> ethernet ports will do. An old laptop? One of the shiny little
> Raspberry-Pi style devices? (Probably not the Pi itself; it only
> has one ethernet port.)
I use a BananaPi for that. It has 3 network interfaces:
- the ethernet one,
> This is what is called the Kernel-ABI. All modules compiled for
> "3.16.0-4-amd64" will be compatible with all kernels providing this.
I had kind of figured that out, but one thing still puzzles me: why
isn't it "3.16-4-amd64"? I mean, all those versions seem to always have
a ".0" which is
ls making and applying those decisions and that
might be part of the problem (at least that has been the case for the
LCD brightness management which has historically been handled at all
kinds of places with various successes at avoiding conflicts between
them).
Stefan
> On Mon, 9 Jan 2017, St
> But somehow would like to fix the unmute, not unmuting speaker channel
> and don't know where to look.
If/when you do find out, please report here: I've had similar problems
on my laptops but could never figure out how those things are expected
to work nor how to change their behavior.
> AIUI you save 100% "more power" with hibernate; the machine is
> powered off.
FWIW I've seen cases where the power brick consumes *more* when the
machine is off than when it's suspended (and in my experience there's
usually little difference between the two; the largest difference I've
seen is
801 - 900 of 1442 matches
Mail list logo