Re: [DNG] slashes in FAT file names

2018-12-22 Thread Olaf Meeuwissen
Hi Hendrik,

Hendrik Boom writes:

> I have a 32GiB microSD card an am reying to read it on my Devuan system.
> I munted it with a simpel mount /dev/sdb1 /nedia/hendrik/

You might want to try adding a suitable mount option there.  Not sure if
it's mounted as FAT or VFAT or whatever, but scour the options part of
the appropriate manual page.

> It reads almost everything fine, except for a few files whose names
> contain '/' characters.  I can handle the other horribly weird
> characters in file names

Here `convmv` might come in handy.  I often use that to clean up the
"mess" after extracting zip archives with Shi*t_JIS file names on a
UTF-8 using file system.  Guessing your "horribly weird characters" are
ISO-8859-{1,4,10,15}, (or whatever IBM code page Microsoft saw fit to
appropriate for those).

> -- emacs Rename in the directory editor works just fine.  But the
> names containing '/'s even have emacs stymied.

# Hoping that Emacs on Windows isn't ;-)  But fully expect it to be
# stymied by file names with a `\` in it :-P

> ls -l lists them like this:
>
> -rw-r--r-- 1 hendrik hendrik   0 Sep  1  2007 06 - Track 6.mq3
> -? ? ?   ? ?? 07/TRA~1.MP3
> -rw-r--r-- 1 hendrik hendrik 3585716 Sep  1  2007 08-URA~1.MP3

That `~1` looks a lot like you are actually dealing with a VFAT file
system.  How do things look after a

  mount -t vfat /dev/sdb1 /media/hendrik/

> With the slash, it can't even figure out the permissions, ownership, or
> file size.  Preumably some parts of the system interpret the '/' as the
> directory name separator, and in this file system that's not what it
> is.

On any Unix-like system I've come across the '/' (and '\0') are about
the only character that cannot be used in a filename.  As mentioned
above check the mount.vfat (or mount.fat or mount.cifs?) manual pages
for options that might transparently "fix up" the file name.

# Yes, you can use `\n` in a file name ... but please don't.

> Does anyone have any ideas here other than begging, borrowing, or
> buying a Windows system?

It's an SD card, right?  Asking a friendly neighbour to rename the
file(s) in question may be the quickest way out of your conundrum.

Hope this helps,
--
Olaf Meeuwissen, LPIC-2FSF Associate Member since 2004-01-27
 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
 Support Free Softwarehttps://my.fsf.org/donate
 Join the Free Software Foundation  https://my.fsf.org/join
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] slashes in FAT file names

2018-12-22 Thread marc
Hello:

> -? ? ?   ? ?? 07/TRA~1.MP3

> With the slash, it can't even figure out the permissions, ownership, or 
> file size.  Preumably some parts of the system interpret the '/' as the 
> directory name separator, and in this file system that's not what it 
> is.
> 
> Does anyone have any ideas here other than begging, borrowing, or 
> buying a Windows system?

Try mtools ? But also consider the possibility that the card may be 
corrupted in somehow...

regards

marc
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] slashes in FAT file names

2018-12-22 Thread Rick Moen
Quoting Olaf Meeuwissen (paddy-h...@member.fsf.org):

> On any Unix-like system I've come across the '/' (and '\0') are about
> the only character that cannot be used in a filename.  

That and null are the only disallowed characters.  It's in the Single
Unix Specification.
http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_170

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Installing without rebooting

2018-12-22 Thread Arnt Karlsen
On Fri, 21 Dec 2018 21:30:17 +0100, Alessandro wrote in message 
:

> On 20/12/18 at 15:32, Arnt Karlsen wrote:
> > On Thu, 20 Dec 2018 00:59:35 +1100, Ralph wrote in message 
> > :
> >  
> >> There is this notion of "kexec boot"; I've never tried it, but it's
> >> documentation claims "kexec  is  a system call that enables you to
> >> load and boot into another kernel from the currently running
> >> kernel."
> >>
> >> Maybe it comes with too many ifs and buts to be a viable approach.
> >>
> >> Ralph.  
> > ..I used to "kexec reboot" a lot in my pre-systemd Debian days, 
> > AFAIR, bought me nice long uptimes with new kernels. ;o)  
> 
> 
>   AFAIR, uptime is not maintained through a kexec.

..I agree it shouldn't be, and I'm not sure what went wrong, it's like
10 years ago, but I do have the hardware in one of my 3 20-feeters and 
I need a lawsuit win in mid february to find a place to live and
reproduce this bug.

-- 
..med vennlig hilsen = with Kind Regards from Arnt Karlsen
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Trouble with .onion addresses?

2018-12-22 Thread Arnt Karlsen
On Sat, 22 Dec 2018 08:19:09 +0100, KatolaZ wrote in message 
<20181222071909.o2lxb3gdhlxl3...@katolaz.homeunix.net>:

> On Fri, Dec 21, 2018 at 08:04:51PM +, ghostlands via Dng wrote:
> > devuanfwojg73k6r.onion is down again. Does anyone know if this just
> > a matter of waiting for it to be fixed, or should we begin planning
> > for a different workflow?
> > 
> > gl  
> 
> Please define "down" vs "up". The service on the Devuan side has been
> running without interruption. We are not sure about the onion
> addresses it redirects to for packages coming directly from Debian. A
> bit more detail than "does not work" (e.g., providing the error
> message spat out by apt, or the name of the onion service that is
> failing) could be useful to pinpoint problems.

..http://devuanfwojg73k6r.onion/ now times out for me using chrome 
thru Tor, I'd appear in your logs as coming from 46.165.230.5 right
now.



-- 
..med vennlig hilsen = with Kind Regards from Arnt Karlsen
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] slashes in FAT file names

2018-12-22 Thread Adam Sampson via Dng
Hendrik Boom  writes:

> -? ? ?   ? ?? 07/TRA~1.MP3

As others have said, / isn't a valid character in Windows filenames, so
finding a Windows machine probably won't help (perhaps this is just a
very unlucky random bitflip, or it was written on some embedded device
that doesn't implement the FAT filename rules properly).

"fsck.fat" from dosfstools usually does a decent job of fixing FAT
filesystem errors. The man page says it'll check for invalid filenames,
so that'd be worth a try.

Alternatively, the FAT directory format is very straightforward, so you
could fire up a hex editor like "tweak" on the block device, do a string
search for the invalid filename, and overwrite it with something more
reasonable.

-- 
Adam Sampson  
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] slashes in FAT file names

2018-12-22 Thread Martin Steigerwald
Hello Hendrik,

Hendrik Boom - 22.12.18, 04:23:
> ls -l lists them like this:
> 
> -rw-r--r-- 1 hendrik hendrik   0 Sep  1  2007 06 - Track 6.mq3
> -? ? ?   ? ?? 07/TRA~1.MP3

 instead of useful metadata can be a sign of filesystem corruption. 
There might be something in kernel log about that.

I'd try fsck.vfat and if that does not work use photorec from the 
testdisk package to recover the image.

Best of success,
-- 
Martin


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] slashes in FAT file names

2018-12-22 Thread Hendrik Boom
On Fri, Dec 21, 2018 at 10:00:00PM -0600, goli...@dyne.org wrote:
> On 2018-12-21 21:23, Hendrik Boom wrote:
> > 
> > Does anyone have any ideas here other than begging, borrowing, or
> > buying a Windows system?
> > 
> > -- hendrik
> > 
> > ___
> > 
> 
> Don't use / in filenames.  I thought it was a no-no.  Yes it is:
> 
> "File names in Linux can contain any characters other than (1) a forward
> slash ( / ), which is reserved for use as the name of the root directory
> (i.e., the directory that contains all other directories and files) and as a
> directory separator . . ."

I know, I know.  It wasn't me that put the filenames there.  Presumably 
the Microsoft system he used didn't have that restriction.

I also know that modern Windows does have this restriction.  Presumably 
dating back historically to the days of original DOS, ahidh used 
slashes as a marker for command language flags.

But back then a program could still stick anything at all in the file 
name.  And some did.

- hendrik
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] slashes in FAT file names

2018-12-22 Thread Hendrik Boom
On Fri, Dec 21, 2018 at 10:24:24PM -0800, Rick Moen wrote:
> Quoting Hendrik Boom (hend...@topoi.pooq.com):
> 
> > I have a 32GiB microSD card an am reying to read it on my Devuan system.
> > I munted it with a simpel mount /dev/sdb1 /nedia/hendrik/
> > 
> > It reads almost everything fine, except for a few files whose names 
> > contain '/' characters.  I can handle the other horribly weird 
> > characters in file names -- emacs Rename in the directory 
> > editor works just fine.  But the names containing '/'s even have 
> > emacs stymied.
> 
> Rename them.
> 
> 1.  'ls -i'   #Gets the inode number.
> 2.  'find . -inum "inode-number-from-ls -i" -exec mv {} "newfilename" \;'
> 
> Man, I hate files with pathological filenames, and some of the
> other-OS-originating examples are among the worst.

Do VFAT files systems have inode numbers?

-- hendrik
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] slashes in FAT file names

2018-12-22 Thread Hendrik Boom
On Sat, Dec 22, 2018 at 05:15:55PM +0900, Olaf Meeuwissen wrote:
> Hi Hendrik,
> 
> Hendrik Boom writes:
> 
> > I have a 32GiB microSD card an am reying to read it on my Devuan system.
> > I munted it with a simpel mount /dev/sdb1 /nedia/hendrik/
> 
> You might want to try adding a suitable mount option there.  Not sure if
> it's mounted as FAT or VFAT or whatever, but scour the options part of
> the appropriate manual page.

The mount command tells me it already *is* mounted as VFAT.
Which is what I's expect of a 32G sd card -- presumably SDHC.

> 
> > It reads almost everything fine, except for a few files whose names
> > contain '/' characters.  I can handle the other horribly weird
> > characters in file names
> 
> Here `convmv` might come in handy.  I often use that to clean up the
> "mess" after extracting zip archives with Shi*t_JIS file names on a
> UTF-8 using file system.  Guessing your "horribly weird characters" are
> ISO-8859-{1,4,10,15}, (or whatever IBM code page Microsoft saw fit to
> appropriate for those).

As long as convmv uses the file system provided by the kernel, it will 
treat slashes as directory name separators.  It looks like a mechanism 
to use when names are untypeable.  But it looks as if it uses the 
kernel's rename facility just like anything else.

Still, something to try when other attacks have failed.

> 
> > -- emacs Rename in the directory editor works just fine.  But the
> > names containing '/'s even have emacs stymied.

Presumably because of the same kernel's file-system's name restrictions

> 
> # Hoping that Emacs on Windows isn't ;-)  But fully expect it to be
> # stymied by file names with a `\` in it :-P

Worth a try if I get to a Windows system.

-- hendrik


> 
> > ls -l lists them like this:
> >
> > -rw-r--r-- 1 hendrik hendrik   0 Sep  1  2007 06 - Track 6.mq3
> > -? ? ?   ? ?? 07/TRA~1.MP3
> > -rw-r--r-- 1 hendrik hendrik 3585716 Sep  1  2007 08-URA~1.MP3
> 
> That `~1` looks a lot like you are actually dealing with a VFAT file
> system.  How do things look after a
> 
>   mount -t vfat /dev/sdb1 /media/hendrik/
> 
> > With the slash, it can't even figure out the permissions, ownership, or
> > file size.  Preumably some parts of the system interpret the '/' as the
> > directory name separator, and in this file system that's not what it
> > is.
> 
> On any Unix-like system I've come across the '/' (and '\0') are about
> the only character that cannot be used in a filename.  As mentioned
> above check the mount.vfat (or mount.fat or mount.cifs?) manual pages
> for options that might transparently "fix up" the file name.

It is already mounted as a vfat filesystem.
The vfat uni_xlate offers faint hope, because it translates the 
character set.  It converts odd Unicode characters in file names using 
escape sequences involving ':', because ':' is apparently illegal in 
VFAT file names.  (perhaps a drive letter designator on Windows?)

Perhaps, just perhaps, it treats a slash to be a Unicode vagary?  
Unlikely, but worth a try.

> 
> # Yes, you can use `\n` in a file name ... but please don't.
> 
> > Does anyone have any ideas here other than begging, borrowing, or
> > buying a Windows system?
> 
> It's an SD card, right?  Asking a friendly neighbour to rename the
> file(s) in question may be the quickest way out of your conundrum.

Yes, indeed, but it would not be good publicity for Linux.  A secondary 
consideration.

-- hendrik
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] slashes in FAT file names

2018-12-22 Thread Hendrik Boom
On Sat, Dec 22, 2018 at 10:37:44AM +, marc wrote:
> Hello:
> 
> > -? ? ?   ? ?? 07/TRA~1.MP3
> 
> > With the slash, it can't even figure out the permissions, ownership, or 
> > file size.  Preumably some parts of the system interpret the '/' as the 
> > directory name separator, and in this file system that's not what it 
> > is.
> > 
> > Does anyone have any ideas here other than begging, borrowing, or 
> > buying a Windows system?
> 
> Try mtools ? But also consider the possibility that the card may be 
> corrupted in somehow...

Looks like that could help.  It handles VFAT.  But treats '/' to mean 
the same as '\'.  But that might just be an easy code change, feasible 
because of freedom.

Given some of the other file names in that directory, there does seem 
to be corruption.  But those other files contain mp3 files that do play 
correctly.

-- hendrik

> 
> regards
> 
> marc
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] slashes in FAT file names

2018-12-22 Thread Hendrik Boom
On Sat, Dec 22, 2018 at 11:37:32AM +, Adam Sampson via Dng wrote:
> Hendrik Boom  writes:
> 
> > -? ? ?   ? ?? 07/TRA~1.MP3
> 
> As others have said, / isn't a valid character in Windows filenames, so
> finding a Windows machine probably won't help (perhaps this is just a
> very unlucky random bitflip, or it was written on some embedded device
> that doesn't implement the FAT filename rules properly).
> 
> "fsck.fat" from dosfstools usually does a decent job of fixing FAT
> filesystem errors. The man page says it'll check for invalid filenames,
> so that'd be worth a try.

Perhaps first dd the entire card to a backup file just in case.

> 
> Alternatively, the FAT directory format is very straightforward, so you
> could fire up a hex editor like "tweak" on the block device, do a string
> search for the invalid filename, and overwrite it with something more
> reasonable.

This looks promising, too.

-- hendrik

> 
> -- 
> Adam Sampson  
> ___
> Dng mailing list
> Dng@lists.dyne.org
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] slashes in FAT file names

2018-12-22 Thread Hendrik Boom
Let me thank everyone for their advice;  it looks as if I have enough 
ideas to try out now.  I'll do that when I'm fully awake an report back 
on what worked.

-- hendrik

On Fri, Dec 21, 2018 at 10:23:14PM -0500, Hendrik Boom wrote:
> I have a 32GiB microSD card an am reying to read it on my Devuan system.
> I munted it with a simpel mount /dev/sdb1 /nedia/hendrik/
> 
> It reads almost everything fine, except for a few files whose names 
> contain '/' characters.  I can handle the other horribly weird 
> characters in file names -- emacs Rename in the directory 
> editor works just fine.  But the names containing '/'s even have 
> emacs stymied.
> 
> ls -l lists them like this:
> 
> -rw-r--r-- 1 hendrik hendrik   0 Sep  1  2007 06 - Track 6.mq3
> -? ? ?   ? ?? 07/TRA~1.MP3
> -rw-r--r-- 1 hendrik hendrik 3585716 Sep  1  2007 08-URA~1.MP3
> 
> With the slash, it can't even figure out the permissions, ownership, or 
> file size.  Preumably some parts of the system interpret the '/' as the 
> directory name separator, and in this file system that's not what it 
> is.
> 
> Does anyone have any ideas here other than begging, borrowing, or 
> buying a Windows system?
> 
> -- hendrik
> 
> ___
> Dng mailing list
> Dng@lists.dyne.org
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] Debugging Devuan .onion/TOR

2018-12-22 Thread lpb+devuan
This is what I get from trying to get APT archives from devuan:

E: Failed to fetch
tor+http://devuanfwojg73k6r.onion/merged/pool/DEBIAN-SECURITY/updates/main/p/php5/php5_5.6.39+dfsg-0+deb8u1_all.deb
 SOCKS proxy socks5h://localhost:9050 could not connect to
devuanfwojg73k6r.onion (0.0.0.0:0) due to: Host unreachable (6)
E: Failed to fetch
tor+http://devuanfwojg73k6r.onion/merged/pool/DEBIAN-SECURITY/updates/main/p/php7.0/php7.0_7.0.33-0+deb9u1_all.deb
 SOCKS proxy socks5h://localhost:9050 could not connect to
devuanfwojg73k6r.onion (0.0.0.0:0) due to: Host unreachable (6)
etc.

This is my sources.list (sources format):

Types: deb deb-src
URIs: tor+http://devuanfwojg73k6r.onion/merged
Suites: ascii ascii-updates ascii-security ascii-backports
Components: main contrib

I also have a Debian system, and configured it to use TOR (list format):

deb tor+http://vwakviie2ienjx6t.onion/debian stretch main contrib
deb-src tor+http://vwakviie2ienjx6t.onion/debian stretch main contrib

deb tor+http://sgvtcaew4bxjd7ln.onion/debian-security stretch/updates
main contrib
deb-src tor+http://sgvtcaew4bxjd7ln.onion/debian-security
stretch/updates main contrib

Right now it's able to reach the Debian .onion addresses:

Hit tor+http://sgvtcaew4bxjd7ln.onion stretch/updates/main Sources

Hit tor+http://sgvtcaew4bxjd7ln.onion stretch/updates/contrib Sources

Hit tor+http://sgvtcaew4bxjd7ln.onion stretch/updates/main armel
Packages
Hit tor+http://sgvtcaew4bxjd7ln.onion stretch/updates/contrib armel
Packages
Hit tor+http://sgvtcaew4bxjd7ln.onion stretch/updates/contrib
Translation-en
Hit tor+http://sgvtcaew4bxjd7ln.onion stretch/updates/main
Translation-en
etc.

Please let me know what other information might help.

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] How to install NVIDIA driver?

2018-12-22 Thread Michael
Hi All,

[Minimal install, Devuan ASCII w/ Trinity Desktop Environment (TDE)]

I’m trying to install NVIDIA drivers for a GTX 1060.  I’m basically following 
the Debian instructions [1], modified for Devuan and got to the last step, 
which error-ed out.  The summary of the error is:

The following packages have unmet dependencies:
 nvidia-driver : PreDepends: nvidia-installer-cleanup but it is not 
installable

I’d also like someone to check if I’ve modified sources.list correctly.

Full command line output and error message below:

Thanks all,
Michael

[1] https://wiki.debian.org/NvidiaGraphicsDrivers


root@local [/etc/apt]# lspci -nn | egrep -i "3d|display|vga"
2e:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP106 [GeForce 
GTX 1060 6GB] [10de:1c03] (rev a1)


*Same error whether or not you use backports
root@local [/etc/apt]# apt-get install -t ascii-backports nvidia-driver
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:
 nvidia-driver : PreDepends: nvidia-installer-cleanup but it is not 
installable
 PreDepends: nvidia-legacy-check (>= 343) but it is not going 
to be installed
 Depends: nvidia-driver-libs (= 390.87-4~bpo9+1) but it is not 
going to be installed or
  nvidia-driver-libs-nonglvnd (= 390.87-4~bpo9+1) but 
it is not going to be installed
 Depends: nvidia-driver-bin (= 390.87-4~bpo9+1) but it is not 
going to be installed
 Depends: xserver-xorg-video-nvidia (= 390.87-4~bpo9+1) but it 
is not going to be installed
 Depends: nvidia-vdpau-driver (= 390.87-4~bpo9+1) but it is 
not going to be installed
 Depends: nvidia-alternative (= 390.87-4~bpo9+1) but it is not 
going to be installed
 Depends: nvidia-kernel-dkms (= 390.87-4~bpo9+1) but it is not 
going to be installed or
  nvidia-kernel-390.87
 Depends: nvidia-support but it is not installable
 Recommends: nvidia-settings (>= 390) but it is not 
installable
 Recommends: nvidia-persistenced but it is not installable
E: Unable to correct problems, you have held broken packages.


root@local [/etc/apt]# ll /etc/X11/xorg.conf
ls: cannot access '/etc/X11/xorg.conf': No such file or directory



root@local [/etc/apt]# cat sources.list
#

# deb cdrom:[devuan_ascii_2.0.0_amd64_dvd-1]/ ascii main non-free
# deb cdrom:[devuan_ascii_2.0.0_amd64_dvd-1]/ ascii main non-free

deb http://us.deb.devuan.org/merged ascii main non-free
deb-src http://us.deb.devuan.org/merged ascii main non-free


deb http://us.deb.devuan.org/merged ascii-security main non-free
deb-src http://us.deb.devuan.org/merged ascii-security main non-free

deb http://us.deb.devuan.org/merged ascii-updates main non-free
deb-src http://us.deb.devuan.org/merged ascii-updates main non-free

deb http://deb.devuan.org/merged ascii-backports main non-free
deb-src http://deb.devuan.org/merged ascii-backports main non-free


## Trinity - TDE R14.0.5
deb http://mirror.ppa.trinitydesktop.org/trinity/trinity-r14.0.0/debian 
stretch main
deb 
http://mirror.ppa.trinitydesktop.org/trinity/trinity-builddeps-r14.0.0/debian 
stretch main
deb-src http://mirror.ppa.trinitydesktop.org/trinity/trinity-r14.0.0/debian 
stretch main
deb-src 
http://mirror.ppa.trinitydesktop.org/trinity/trinity-builddeps-r14.0.0/debian 
stretch main

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] What should be the tasks of the Devuan Installer

2018-12-22 Thread Michael
On Tuesday 18 December 2018 07:19:05 am Hendrik Boom wrote:
> On Mon, Dec 17, 2018 at 10:51:53PM -0500, Steve Litt wrote:
> > On Sun, 16 Dec 2018 13:28:43 +0100
> > KatolaZ  wrote:
> >
> > Also, Hendrik is right: If the bootable installer
> > finds information, it should be saved for the secondary installer to
> > use.
>
> It would be enough if the software the bootable installer used were
> still available after the minimal installation to find out the same
> information again.  And if it were clearly documented how the user
> could go about this.

Would this be any different from the user’s perspective than them using 
something like the Synaptic package manager?  If not, then some documentation 
during install would work?

Best,
Michael
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] What should be the tasks of the Devuan Installer

2018-12-22 Thread Michael
[let's see if I can send to the list instead of replying to an individual this 
time...]

On Tuesday 18 December 2018 11:30:47 am g4sra via Dng wrote:
> [snip]
>
> > You are confusing a simple config file that is read once and for all
> > during boot time (the config file on raspberry pis) with the complete
> > installation of a new system. They are not even comparable. There is
> > no thing like "oh I re-run the installer configuration to change the
> > layout of my partitions".
>
> No, building a system under the concept I am trying to describe is a two
> step procedure. You are still merging both steps into one.
>
> Even simpler explanation (so simple it is wrong).
>
> Stage 1) install kernel using program 1 from installation media.
>
> -- reboot --
>
> Stage 2) Install GNOME using program 2 from running built system.

Replace TDE for GNOME and this is exactly my install procedure currently.  
It’s a bit of a pita, because I didn’t know the below, so you have zero 
desktop and are working in a root shell.

On Tuesday 18 December 2018 12:53:11 pm KatolaZ wrote:
> Are you familiar with the Debian/Devuan installer? "tasksel" is the
> installer component that lets you choose which set of packages you
> want to install *after* the base system has been installed. It
> includes selections like "XFCE desktop", "KDE Desktop", "Printer
> server", "SSH server", "web server", "Console productivity", "Standard
> system utilities", etc. You choose what you want, it installs the
> corresponding packages. If you change idea after installation, you
> just run again "tasksel" (from the installed system) and change your
> selections. It's already there.

Documenting that you can run "tasksel" (from the installed system) on the 
initial install screen would be very useful.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] How to install NVIDIA driver?

2018-12-22 Thread Michael
On Monday 17 December 2018 05:49:22 pm you wrote:
> Hi All,
>
> [Minimal install, Devuan ASCII w/ Trinity Desktop Environment (TDE)]
>
> I’m trying to install NVIDIA drivers for a GTX 1060.  I’m basically
> following the Debian instructions [1], modified for Devuan and got to the
> last step, which error-ed out.  The summary of the error is:
>
> The following packages have unmet dependencies:
>  nvidia-driver : PreDepends: nvidia-installer-cleanup but it is not
> installable
>
> I’d also like someone to check if I’ve modified sources.list correctly.
>
> Full command line output and error message below:

After further investigation, the missing package is in Debian 9 (Stretch) 
Contrib:

https://pkgs.org/download/nvidia-installer-cleanup

I tried adding 'contrib' to the end of sources, which worked for 'non-free,' 
but doesn't seem to work for contrib.

So...  What is the corresponding Devuan repository for Debian Contrib?

If there isn't one, what are the issues with installing the .deb 
(nvidia-installer-cleanup_20151021+4_amd64.deb) from the above link?

Thanks,
Michael

PS:  Does anyone see this? Or am I in some sort of moderation?


> [1] https://wiki.debian.org/NvidiaGraphicsDrivers
>
>
> root@local [/etc/apt]# lspci -nn | egrep -i "3d|display|vga"
> 2e:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP106 [GeForce
> GTX 1060 6GB] [10de:1c03] (rev a1)
>
>
> *Same error whether or not you use backports
> root@local [/etc/apt]# apt-get install -t ascii-backports nvidia-driver
> 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:
>  nvidia-driver : PreDepends: nvidia-installer-cleanup but it is not
> installable
>  PreDepends: nvidia-legacy-check (>= 343) but it is not
> going to be installed
>  Depends: nvidia-driver-libs (= 390.87-4~bpo9+1) but it is
> not going to be installed or
>   nvidia-driver-libs-nonglvnd (= 390.87-4~bpo9+1)
> but it is not going to be installed
>  Depends: nvidia-driver-bin (= 390.87-4~bpo9+1) but it is
> not going to be installed
>  Depends: xserver-xorg-video-nvidia (= 390.87-4~bpo9+1) but
> it is not going to be installed
>  Depends: nvidia-vdpau-driver (= 390.87-4~bpo9+1) but it is
> not going to be installed
>  Depends: nvidia-alternative (= 390.87-4~bpo9+1) but it is
> not going to be installed
>  Depends: nvidia-kernel-dkms (= 390.87-4~bpo9+1) but it is
> not going to be installed or
>   nvidia-kernel-390.87
>  Depends: nvidia-support but it is not installable
>  Recommends: nvidia-settings (>= 390) but it is not
> installable
>  Recommends: nvidia-persistenced but it is not installable
> E: Unable to correct problems, you have held broken packages.
>
>
> root@local [/etc/apt]# ll /etc/X11/xorg.conf
> ls: cannot access '/etc/X11/xorg.conf': No such file or directory
>
>
>
> root@local [/etc/apt]# cat sources.list
> #
>
> # deb cdrom:[devuan_ascii_2.0.0_amd64_dvd-1]/ ascii main non-free
> # deb cdrom:[devuan_ascii_2.0.0_amd64_dvd-1]/ ascii main non-free
>
> deb http://us.deb.devuan.org/merged ascii main non-free
> deb-src http://us.deb.devuan.org/merged ascii main non-free
>
>
> deb http://us.deb.devuan.org/merged ascii-security main non-free
> deb-src http://us.deb.devuan.org/merged ascii-security main non-free
>
> deb http://us.deb.devuan.org/merged ascii-updates main non-free
> deb-src http://us.deb.devuan.org/merged ascii-updates main non-free
>
> deb http://deb.devuan.org/merged ascii-backports main non-free
> deb-src http://deb.devuan.org/merged ascii-backports main non-free
>
>
> ## Trinity - TDE R14.0.5
> deb http://mirror.ppa.trinitydesktop.org/trinity/trinity-r14.0.0/debian
> stretch main
> deb
> http://mirror.ppa.trinitydesktop.org/trinity/trinity-builddeps-r14.0.0/debi
>an stretch main
> deb-src http://mirror.ppa.trinitydesktop.org/trinity/trinity-r14.0.0/debian
> stretch main
> deb-src
> http://mirror.ppa.trinitydesktop.org/trinity/trinity-builddeps-r14.0.0/debi
>an stretch main

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] No dependency packages in ASCII repo for nvidia's xorg-video-driver.

2018-12-22 Thread Michael
On Wednesday 19 December 2018 04:53:05 am KatolaZ wrote:
> On Wed, Dec 19, 2018 at 04:35:39PM +0700, Андрей via Dng wrote:
> > Приветствую.
> >
> >
> > How to solve problem of installing nvidia xorg-video-driver, when
> > aptitude says that in ASCII repo no one of:
> >
> > nvidia-installer-cleanup
> > nvidia-support
> > glx-alternative-nvidia
> >
> > packages? Thank you for advice.
>
> Please use https://pkginfo.devuan.org:
>
>  
> https://pkginfo.devuan.org/stage/ascii/ascii/nvidia-installer-cleanup_20151
>021+4.html
>
> You need to add "contrib" and "non-free" to your sources.list.

Would someone add that info to the 'Package repositories' section of 
https://devuan.org/os/ ?

Actually, please add ALL the various sources options there.  And a full 
example of everything would sure help those of us that have never used Debian 
before, as we don't know to add what to us is random, unpublished 
information.

Thanks,
Michael
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Trouble with .onion addresses?

2018-12-22 Thread Dimitris via Dng
On 12/19/18 5:35 PM, lpb+dev...@kandl.houston.tx.us wrote:
> I'm all of a sudden having trouble using the .onion addresses. They've
> worked fine for me for months. I'm getting "could not connect to
> devuanfwojg73k6r.onion (0.0.0.0:0) due to: Host unreachable (6)"
> 
> Is anyone else having this trouble? Thanks!

there seems to be a problem with that particular .onion address (devuan
tor repo). probably down at the moment.(?)
not a general .onion issue..

regards,
d.





signature.asc
Description: OpenPGP digital signature
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] What should be the tasks of the Devuan Installer

2018-12-22 Thread Michael
On Monday 17 December 2018 09:48:10 pm Steve Litt wrote:
> On Sun, 16 Dec 2018 11:10:20 +0100
>
> KatolaZ  wrote:
> > On Sat, Dec 15, 2018 at 08:19:31PM -0500, Steve Litt wrote:
> > > On Wed, 12 Dec 2018 14:36:45 +
> > >
> > > g4sra via Dng  wrote:
> > > > Media partitioning, formatting
> > > > Configure mountpoints
> > > > Install Bootloader
> > > > Install Kernel, Modules & Firmware
> > > > Install Shell & package management software
> > > > Configure console
> > > > Configure network
> > > > Boot
> > > >
> > > > Discuss...
> > >
> > > Above all else, query the user for his/her preferences, and coach
> > > the user while making such decisions. Such decisions serve as input
> > > to your list,  which seems quite complete to me.
> >
>
> Perhaps reframing it would make a difference. Perhaps renaming the
> second program "Install Software" (install_software), 

[snip]

:Software
Yes, something that separates software into its own screen and also gives much 
better definition as to what the 'Software' being installed is would be very 
helpful.  'Web Server' makes sense to most people, but 'Console tools' means 
nothing to that same group.

Further selection into even 'Web Server' would be helpful, especially as most 
read that as what LAMP stack are you installing for me.  Does the user want 
Apache or nginx?  Does the user want MySQL, MariaDB, MongoDB, or ???  Does 
the user want PHP, Perl, Python, or ???


:Firmware
Firmware currently seems to need some work.  Non-free won't install even 
though the packages are on the install media (DVD) and the computer has a 
hard-wired Ethernet connection.

I’m not even sure if the Devuan installer even tries to install graphics 
drivers.  Depending on whose survey you’re using (Steam in this case) NVIDIA 
has over 50% of the market in ~15 GeForce GTX cards.  Add in the next 2 major 
groups* and it would seem 70-80% of these drivers would be installed ‘out of 
the box.’

* Maybe just one group?  AMD Radon seems about it outside of a few Intel's up 
to the 90% total usage mark.

GPU driver full disclosure:
Since there don’t seem to be any Devuan instructions, following Debian 
instructions I can’t even get the NVIDIA GeForce GTX 1060, supposedly the 
most used graphics card, drivers to install.  Being butthurt might be biasing 
my opinion a bit...

Humor aside, having the distribution that installs ~75% of people graphics 
cards ‘out-of-the-box’ would be a pretty major reason for people to install 
Devuan over anything else.

> > > You know what would really be fun? An installer that asks *all* of
> > > the necessary questions right at the front,  so you can walk away
> > > and do something else while it installs itself. I find installers
> > > that keep asking me questions every 10 minutes annoying.
> >
> > You can use preseeding for that. And you are not asked any question at
> > all.
>
> Not the same thing. I want the discoverability of a menu when I define
> all aspects. Perhaps the best of both worlds could be obtained by
> having a Curses or GUI program providing questions to create the
> preseed. Now THAT would be cool!

I’ve always wanted this.  The downside having always been, you come back 4 
hours later and it barfed in the first 10 minutes.  Maybe continually flash 
the screen upon an error or something, since having the old PC speaker 
standby is iffy now.

Best,
Michael
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] slashes in FAT file names

2018-12-22 Thread Steve Litt
On Sat, 22 Dec 2018 02:38:42 -0800
Rick Moen  wrote:

> Quoting Olaf Meeuwissen (paddy-h...@member.fsf.org):
> 
> > On any Unix-like system I've come across the '/' (and '\0') are
> > about the only character that cannot be used in a filename.
> 
> That and null are the only disallowed characters.  It's in the Single
> Unix Specification.
> http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_170

Regardless of any spec, I wouldn't be caught using anything in a
filename except letters, numbers, dots and underscores. Once in a while
I'll let somebody else's dash go through. Some day I should write a
filename cleaner to get rid of all that junk windows people just love
putting in their filenames.

 
SteveT

Steve Litt 
December 2018 featured book: Rapid Learning for the 21st Century
http://www.troubleshooters.com/rl21
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] How to install NVIDIA driver?

2018-12-22 Thread Rob via Dng



‐‐‐ Original Message ‐‐‐
On Saturday, 22 December 2018 17:23, Michael 
 wrote:

> Sent from ProtonMail, encrypted email based in Switzerland.Hi All,
>
> [Minimal install, Devuan ASCII w/ Trinity Desktop Environment (TDE)]
>
> I’m trying to install NVIDIA drivers for a GTX 1060. I’m basically following
> the Debian instructions [1], modified for Devuan and got to the last step,
> which error-ed out. The summary of the error is:
>
> The following packages have unmet dependencies:
> nvidia-driver : PreDepends: nvidia-installer-cleanup but it is not
> installable
>
> I’d also like someone to check if I’ve modified sources.list correctly.
>
> Full command line output and error message below:
>
> Thanks all,
> Michael
>
> [1] https://wiki.debian.org/NvidiaGraphicsDrivers
>
> root@local [/etc/apt]# lspci -nn | egrep -i "3d|display|vga"
> 2e:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP106 [GeForce
> GTX 1060 6GB] [10de:1c03] (rev a1)
>
> *Same error whether or not you use backports
> root@local [/etc/apt]# apt-get install -t ascii-backports nvidia-driver
> 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:
> nvidia-driver : PreDepends: nvidia-installer-cleanup but it is not
> installable
> PreDepends: nvidia-legacy-check (>= 343) but it is not going
> to be installed
> Depends: nvidia-driver-libs (= 390.87-4~bpo9+1) but it is not
> going to be installed or
> nvidia-driver-libs-nonglvnd (= 390.87-4~bpo9+1) but
> it is not going to be installed
> Depends: nvidia-driver-bin (= 390.87-4~bpo9+1) but it is not
> going to be installed
> Depends: xserver-xorg-video-nvidia (= 390.87-4~bpo9+1) but it
> is not going to be installed
> Depends: nvidia-vdpau-driver (= 390.87-4~bpo9+1) but it is
> not going to be installed
> Depends: nvidia-alternative (= 390.87-4~bpo9+1) but it is not
> going to be installed
> Depends: nvidia-kernel-dkms (= 390.87-4~bpo9+1) but it is not
> going to be installed or
> nvidia-kernel-390.87
> Depends: nvidia-support but it is not installable
> Recommends: nvidia-settings (>= 390) but it is not
> installable
> Recommends: nvidia-persistenced but it is not installable
> E: Unable to correct problems, you have held broken packages.


A workaround is to download the missing packages, nvidia-installer-cleanup and 
nvidia-legacy-checker, from packages.debian.org

Then use sudo dpkg -i  to install the packages or as root 
user if you don't use sudo.

Then retry installing nvidia-driver.

Rob

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] [kato...@freaknet.org: Re: Debugging Devuan .onion/TOR]

2018-12-22 Thread KatolaZ
Sorry, replied to sender instead of list.

Just to confirm that the onion address seems to be working correctly
from here now.

HND

KatolaZ

- Forwarded message from KatolaZ  -

Date: Sat, 22 Dec 2018 22:16:21 +0100
From: KatolaZ 
To: lpb+dev...@kandl.houston.tx.us
Subject: Re: [DNG] Debugging Devuan .onion/TOR
User-Agent: NeoMutt/20170113 (1.7.2)

On Sat, Dec 22, 2018 at 10:43:49AM -0600, lpb+dev...@kandl.houston.tx.us wrote:
> This is what I get from trying to get APT archives from devuan:
> 
> E: Failed to fetch
> tor+http://devuanfwojg73k6r.onion/merged/pool/DEBIAN-SECURITY/updates/main/p/php5/php5_5.6.39+dfsg-0+deb8u1_all.deb
>  SOCKS proxy socks5h://localhost:9050 could not connect to
> devuanfwojg73k6r.onion (0.0.0.0:0) due to: Host unreachable (6)
> E: Failed to fetch
> tor+http://devuanfwojg73k6r.onion/merged/pool/DEBIAN-SECURITY/updates/main/p/php7.0/php7.0_7.0.33-0+deb9u1_all.deb
>  SOCKS proxy socks5h://localhost:9050 could not connect to
> devuanfwojg73k6r.onion (0.0.0.0:0) due to: Host unreachable (6)
> etc.
> 

We have restarted the tor service. Please try again now.

HND

KatolaZ

-- 
[ ~.,_  Enzo Nicosia aka KatolaZ - Devuan -- Freaknet Medialab  ]  
[ "+.  katolaz [at] freaknet.org --- katolaz [at] yahoo.it  ]
[   @)   http://kalos.mine.nu ---  Devuan GNU + Linux User  ]
[ @@)  http://maths.qmul.ac.uk/~vnicosia --  GPG: 0B5F062F  ] 
[ (@@@)  Twitter: @KatolaZ - skype: katolaz -- github: KatolaZ  ]



- End forwarded message -

-- 
[ ~.,_  Enzo Nicosia aka KatolaZ - Devuan -- Freaknet Medialab  ]  
[ "+.  katolaz [at] freaknet.org --- katolaz [at] yahoo.it  ]
[   @)   http://kalos.mine.nu ---  Devuan GNU + Linux User  ]
[ @@)  http://maths.qmul.ac.uk/~vnicosia --  GPG: 0B5F062F  ] 
[ (@@@)  Twitter: @KatolaZ - skype: katolaz -- github: KatolaZ  ]


signature.asc
Description: PGP signature
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] How to install NVIDIA driver?

2018-12-22 Thread KatolaZ
On Tue, Dec 18, 2018 at 03:13:05PM -0600, Michael wrote:
> On Monday 17 December 2018 05:49:22 pm you wrote:
> > Hi All,
> >
> > [Minimal install, Devuan ASCII w/ Trinity Desktop Environment (TDE)]
> >
> > I’m trying to install NVIDIA drivers for a GTX 1060.  I’m basically
> > following the Debian instructions [1], modified for Devuan and got to the
> > last step, which error-ed out.  The summary of the error is:
> >
> > The following packages have unmet dependencies:
> >  nvidia-driver : PreDepends: nvidia-installer-cleanup but it is not
> > installable
> >
> > I’d also like someone to check if I’ve modified sources.list correctly.
> >
> > Full command line output and error message below:
> 
> After further investigation, the missing package is in Debian 9 (Stretch) 
> Contrib:
> 
> https://pkgs.org/download/nvidia-installer-cleanup
> 
> I tried adding 'contrib' to the end of sources, which worked for 'non-free,' 
> but doesn't seem to work for contrib.
> 
> So...  What is the corresponding Devuan repository for Debian Contrib?
> 
> If there isn't one, what are the issues with installing the .deb 
> (nvidia-installer-cleanup_20151021+4_amd64.deb) from the above link?


I guess you should add both contrib and non-free. If you are getting
packages from backports, add contrib and non-free in your backports
line as well.

My2Cents

KatolaZ

-- 
[ ~.,_  Enzo Nicosia aka KatolaZ - Devuan -- Freaknet Medialab  ]  
[ "+.  katolaz [at] freaknet.org --- katolaz [at] yahoo.it  ]
[   @)   http://kalos.mine.nu ---  Devuan GNU + Linux User  ]
[ @@)  http://maths.qmul.ac.uk/~vnicosia --  GPG: 0B5F062F  ] 
[ (@@@)  Twitter: @KatolaZ - skype: katolaz -- github: KatolaZ  ]


signature.asc
Description: PGP signature
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] [kato...@freaknet.org: Re: Debugging Devuan .onion/TOR]

2018-12-22 Thread Arnt Karlsen
On Sat, 22 Dec 2018 22:23:12 +0100, KatolaZ wrote in message 
<2018112311.yxleukxbnjohj...@katolaz.homeunix.net>:

> Sorry, replied to sender instead of list.
> 
> Just to confirm that the onion address seems to be working correctly
> from here now.

..it still times out on my chrome-thru-tor, "from" 91.219.236.171 
and 199.87.154.255 and 199.249.230.83.

> HND
> 
> KatolaZ
> 
> - Forwarded message from KatolaZ  -
> 
> Date: Sat, 22 Dec 2018 22:16:21 +0100
> From: KatolaZ 
> To: lpb+dev...@kandl.houston.tx.us
> Subject: Re: [DNG] Debugging Devuan .onion/TOR
> User-Agent: NeoMutt/20170113 (1.7.2)
> 
> On Sat, Dec 22, 2018 at 10:43:49AM -0600,
> lpb+dev...@kandl.houston.tx.us wrote:
> > This is what I get from trying to get APT archives from devuan:
> > 
> > E: Failed to fetch
> > tor+http://devuanfwojg73k6r.onion/merged/pool/DEBIAN-SECURITY/updates/main/p/php5/php5_5.6.39+dfsg-0+deb8u1_all.deb
> >  SOCKS proxy socks5h://localhost:9050 could not connect to
> > devuanfwojg73k6r.onion (0.0.0.0:0) due to: Host unreachable (6)
> > E: Failed to fetch
> > tor+http://devuanfwojg73k6r.onion/merged/pool/DEBIAN-SECURITY/updates/main/p/php7.0/php7.0_7.0.33-0+deb9u1_all.deb
> >  SOCKS proxy socks5h://localhost:9050 could not connect to
> > devuanfwojg73k6r.onion (0.0.0.0:0) due to: Host unreachable (6)
> > etc.
> >   
> 
> We have restarted the tor service. Please try again now.
> 
> HND
> 
> KatolaZ
> 


-- 
..med vennlig hilsen = with Kind Regards from Arnt Karlsen
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] slashes in FAT file names

2018-12-22 Thread Rick Moen
Quoting Hendrik Boom (hend...@topoi.pooq.com):

> On Fri, Dec 21, 2018 at 10:24:24PM -0800, Rick Moen wrote:
> > Quoting Hendrik Boom (hend...@topoi.pooq.com):
> > 
> > > I have a 32GiB microSD card an am reying to read it on my Devuan system.
> > > I munted it with a simpel mount /dev/sdb1 /nedia/hendrik/
> > > 
> > > It reads almost everything fine, except for a few files whose names 
> > > contain '/' characters.  I can handle the other horribly weird 
> > > characters in file names -- emacs Rename in the directory 
> > > editor works just fine.  But the names containing '/'s even have 
> > > emacs stymied.
> > 
> > Rename them.
> > 
> > 1.  'ls -i'   #Gets the inode number.
> > 2.  'find . -inum "inode-number-from-ls -i" -exec mv {} "newfilename" \;'
> > 
> > Man, I hate files with pathological filenames, and some of the
> > other-OS-originating examples are among the worst.
> 
> Do VFAT files systems have inode numbers?

The only way Unix ever dereferences files is by inode number, so I think
(speculate) that the Linux vfat filesystem layer allocates them to
observed files.  Anyway, I'd give the inode trick a try.

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] slashes in FAT file names

2018-12-22 Thread Hendrik Boom
On Sat, Dec 22, 2018 at 02:42:13PM -0800, Rick Moen wrote:
> Quoting Hendrik Boom (hend...@topoi.pooq.com):
> 
> > On Fri, Dec 21, 2018 at 10:24:24PM -0800, Rick Moen wrote:
> > > Quoting Hendrik Boom (hend...@topoi.pooq.com):
> > > 
> > > > I have a 32GiB microSD card an am reying to read it on my Devuan system.
> > > > I munted it with a simpel mount /dev/sdb1 /nedia/hendrik/
> > > > 
> > > > It reads almost everything fine, except for a few files whose names 
> > > > contain '/' characters.  I can handle the other horribly weird 
> > > > characters in file names -- emacs Rename in the directory 
> > > > editor works just fine.  But the names containing '/'s even have 
> > > > emacs stymied.
> > > 
> > > Rename them.
> > > 
> > > 1.  'ls -i'   #Gets the inode number.
> > > 2.  'find . -inum "inode-number-from-ls -i" -exec mv {} "newfilename" \;'
> > > 
> > > Man, I hate files with pathological filenames, and some of the
> > > other-OS-originating examples are among the worst.
> > 
> > Do VFAT files systems have inode numbers?
> 
> The only way Unix ever dereferences files is by inode number, so I think
> (speculate) that the Linux vfat filesystem layer allocates them to
> observed files.  Anyway, I'd give the inode trick a try.

Yes, I see inode numbers.  Unfortunately, the files with slashes in 
their names have question marks for their inode numbers.

hendrik@midwinter:/media/hendrik/FC30-3DA9/Pure disco$ ls -i
ls: cannot access '07/TRA~1.MP3': No such file or directory
ls: cannot access '18/TRA~1.MP3': No such file or directory
2522 @  2523 ?  2526 ?? 07/TRA~1.MP3   2516 
16-TRA~1.M?3 2520 21 - Traɣk 21.mp3
2522 @  2521 ?  2524 ? 2508 08-URA~1.MP3   2517 
17-TRA~1.MP3 2525 Ç
2522 @  2521 ?  2502 01-TRA~1.MP│  2509 09=TRA~1.MP3  ? 
18/TRA~1.MP3 2525 Ç
2522 @  2521 ?  2504 03 - Track 3.mp3  2503 0" - Track 2.mp䀳  2518 19 
- Ŕrack 19.mp3䀀  2510 q0-TRA~1.MP3
2523 ?  2527 ?  2505 04,TRA~1.MP3  2512 12!- Track 12.mŰ3  2515 
1%-TRA~1.MP3
2523 ?  2526 ?  2506 05  Track 5.mp3   2513 13-TRA~1.MP3   2511 !1 
- Track 11.mp3ࠀ
2523 ?  2526 ?  2507 06 - Track 6.mq3  2514 14 - Track 14.mp3  2519 
20-T╥A~1.MP3

-- hendrik
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] slashes in FAT file names

2018-12-22 Thread Rick Moen
Quoting Hendrik Boom (hend...@topoi.pooq.com):

> Yes, I see inode numbers.  Unfortunately, the files with slashes in 
> their names have question marks for their inode numbers.
[snip]

Wow, that's meshugge.  ;->

Perhaps some lateral thinking will help.  What about booting a FreeDOS
v. 1.2 image, and then doing a 'ren' or 'copy' operation there?

http://www.freedos.org/
https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1.2/

-- 
May those that love us love us; and those that don't love us, may
God turn their hearts; and if he doesn't turn their hearts, may
he turn their ankles so we'll know them by their limping.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] slashes in FAT file names

2018-12-22 Thread karl
Hendrik:
> On Sat, Dec 22, 2018 at 02:42:13PM -0800, Rick Moen wrote:
> > Quoting Hendrik Boom (hend...@topoi.pooq.com):
> > > On Fri, Dec 21, 2018 at 10:24:24PM -0800, Rick Moen wrote:
...
> > > > Rename them.
> > > > 
> > > > 1.  'ls -i'   #Gets the inode number.
> > > > 2.  'find . -inum "inode-number-from-ls -i" -exec mv {} "newfilename" 
> > > > \;'
...
> Yes, I see inode numbers.  Unfortunately, the files with slashes in 
> their names have question marks for their inode numbers.
> 
> hendrik@midwinter:/media/hendrik/FC30-3DA9/Pure disco$ ls -i
> ls: cannot access '07/TRA~1.MP3': No such file or directory
> ls: cannot access '18/TRA~1.MP3': No such file or directory
> 2522 @  2523 ?  2526 ?? 07/TRA~1.MP3   2516 
...

Perhaps you can see them if you tell ls to not to sort the entries:
ls -iU1

If that doesn't work, you could possible use the example program in
man getdents.

Regards,
/Karl Hammar

---
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] slashes in FAT file names

2018-12-22 Thread Gonzalo Pérez de Olaguer Córdoba
Hi Hendrik,

El Sat, 22 Dec 2018 18:20:22 -0500
Hendrik Boom  escribió:

> > > > Rename them.
> > > > 
> > > > 1.  'ls -i'   #Gets the inode number.
> > > > 2.  'find . -inum "inode-number-from-ls -i" -exec mv {} "newfilename" 
> > > > \;'
> > > > 
> 
> Yes, I see inode numbers.  Unfortunately, the files with slashes in 
> their names have question marks for their inode numbers.
> 
> 2522 @  2523 ?  2526 ?? 07/TRA~1.MP3   2516 

You don't have to use inodes at all. Anything provided by find to match the file
will do. For example, try something like:

find . -type f -iname '07*TRA*MP3' -exec ...


-- 
   Gonzalo Pérez de Olaguer Córdoba   s...@gpoc.es
  -=- buscando empleo desde 1988 -=-   www.gpoc.es 

PGP: 3F87 CCE7 8B35 8C06 E637  2D57 5723 9984 718C A614
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] slashes in FAT file names

2018-12-22 Thread Hendrik Boom
On Sun, Dec 23, 2018 at 02:35:35AM +0100, Gonzalo Pérez de Olaguer Córdoba 
wrote:
> Hi Hendrik,
> 
> El Sat, 22 Dec 2018 18:20:22 -0500
> Hendrik Boom  escribió:
> 
> > > > > Rename them.
> > > > > 
> > > > > 1.  'ls -i'   #Gets the inode number.
> > > > > 2.  'find . -inum "inode-number-from-ls -i" -exec mv {} "newfilename" 
> > > > > \;'
> > > > > 
> > 
> > Yes, I see inode numbers.  Unfortunately, the files with slashes in 
> > their names have question marks for their inode numbers.
> > 
> > 2522 @  2523 ?  2526 ?? 07/TRA~1.MP3   2516 
> 
> You don't have to use inodes at all. Anything provided by find to match the 
> file
> will do. For example, try something like:
> 
> find . -type f -iname '07*TRA*MP3' -exec ...

Wouldn't find just try and stick the name of the file in for the {}, 
and  then wouldn't mv have the same trouble I'm having with my other 
commands, namely, that the name has a slash in it and that the slash 
will get interpreted as a directory name separator rather then as an 
ordinary part of the filename?

Is there a way of naming a file using the inode number?  Like 
/dev/sdb1/2527 or some such?

Of course, this syntax won't work in the case of an inode within a file 
used as a block device.

-- hendrik

> 
> 
> -- 
>Gonzalo Pérez de Olaguer Córdoba   s...@gpoc.es
>   -=- buscando empleo desde 1988 -=-   www.gpoc.es 
> 
> PGP: 3F87 CCE7 8B35 8C06 E637  2D57 5723 9984 718C A614
> ___
> Dng mailing list
> Dng@lists.dyne.org
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] Multiple problems with upgrade

2018-12-22 Thread Se7en
To whom it may concern,

I have had many issues with an upgrade from Jessie to ASCII, and have voiced
my complaints in IRC. Some of these issues are also reported in Debian Proper
with no proposed solutions. I feel the need to voice them.

First issue (Reported in Debian): X11 doesn't start up without root
permissions. The issue is reported at
 and the solution is a
work-around to change a conf file to run as root.

Second issue: Torsocks does not work for several applications, notably
fetchmail. I do not know if this is an issue with Devuan or Torsocks. It gives
a permission denied error. Specific error is sh: 1: /usr/bin/procmail:
Operation not permitted. It exits status 6. This is also an issue with mutt.
Torifying mutt produces "mutt_dotlock: operation not permited".

Third issue: My loopback address is not automatically brought up. I have to
run `ifconfig lo up` on every boot. Attachment is my /etc/network/interfaces

Fourth issue: My swap space is not correct. I had to fiddle with it, and am
unable to correct it. I use LUKS+Cryptswap. I used the Jessie guided paritioner
and it worked well before the upgrade.

There are more issues I can not recall at this moment. I am very upset that
there are no solutions to this problem. Does anyone know what is happening?


-- 
|-/   | Se7en
 /  The One and Only! | se7en@cock.email
/ | 0x73518A15BA3C1476
   /  | Website TBA
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet 
# This is an autoconfigured IPv6 interface
iface eth0 inet6 auto


signature.asc
Description: PGP signature
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] slashes in FAT file names

2018-12-22 Thread karl
Gonzalo:
> Hi Hendrik,
> El Sat, 22 Dec 2018 18:20:22 -0500
> Hendrik Boom  escribió:
> > > > > Rename them.
> > > > > 
> > > > > 1.  'ls -i'   #Gets the inode number.
> > > > > 2.  'find . -inum "inode-number-from-ls -i" -exec mv {} "newfilename" 
> > > > > \;'
> > Yes, I see inode numbers.  Unfortunately, the files with slashes in 
> > their names have question marks for their inode numbers.
> > 2522 @  2523 ?  2526 ?? 07/TRA~1.MP3   2516 
> You don't have to use inodes at all. Anything provided by find to match the 
> file
> will do. For example, try something like:
> find . -type f -iname '07*TRA*MP3' -exec ...

I think all of the above will fail since you can opendir()/readdir()
to look at file names and inodes numbers all you like, but there is
no open()/rename() etc. system call that takes an inode number.
They all take a pathname. So something that works on the file system
level seems to be the only solution.

Regards,
/Karl Hammar

---
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] slashes in FAT file names

2018-12-22 Thread Hendrik Boom
On Sun, Dec 23, 2018 at 02:35:35AM +0100, Gonzalo Pérez de Olaguer Córdoba 
wrote:
> Hi Hendrik,
> 
> El Sat, 22 Dec 2018 18:20:22 -0500
> Hendrik Boom  escribió:
> 
> > > > > Rename them.
> > > > > 
> > > > > 1.  'ls -i'   #Gets the inode number.
> > > > > 2.  'find . -inum "inode-number-from-ls -i" -exec mv {} "newfilename" 
> > > > > \;'
> > > > > 
> > 
> > Yes, I see inode numbers.  Unfortunately, the files with slashes in 
> > their names have question marks for their inode numbers.
> > 
> > 2522 @  2523 ?  2526 ?? 07/TRA~1.MP3   2516 
> 
> You don't have to use inodes at all. Anything provided by find to match the 
> file
> will do. For example, try something like:
> 
> find . -type f -iname '07*TRA*MP3' -exec ...

I'm starting to think the way to go about this is to use a utility that 
bypasses the kernel's VFAT file system and treats /dev/sdb1 as a block 
device.  A few have been suggested.  Maybe a hex editor.  Maybe 
fsck.vfat.  Maybe mtools, possibly modified since the documentation 
https://www.gnu.org/software/mtools/manual/mtools.html#default-values
says: 

Subdirectory names can use either the ’/’ or ’\’ separator.

and that's just how I *don't* want it to treat the '/' in the DOS name.

But maybe a neighbour's old Windows machine.

But the guy that gave me this sd card a few years ago happens to be 
visiting me soon from out of town, so I'll show him what's up.

-- hendrik
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] slashes in FAT file names

2018-12-22 Thread Olaf Meeuwissen
Hi,

Hendrik Boom writes:

> hendrik@midwinter:/media/hendrik/FC30-3DA9/Pure disco$ ls -i
> ls: cannot access '07/TRA~1.MP3': No such file or directory
> ls: cannot access '18/TRA~1.MP3': No such file or directory
> 2522 @  2523 ?  2526 ?? 07/TRA~1.MP3   2516
> 16-TRA~1.M?3 2520 21 - Traɣk 21.mp3
> 2522 @  2521 ?  2524 ? 2508 08-URA~1.MP3   2517
> 17-TRA~1.MP3 2525 Ç
> 2522 @  2521 ?  2502 01-TRA~1.MP│  2509 09=TRA~1.MP3  ?
> 18/TRA~1.MP3 2525 Ç
> 2522 @  2521 ?  2504 03 - Track 3.mp3  2503 0" - Track 2.mp䀳  2518 19
> - Ŕrack 19.mp3䀀  2510 q0-TRA~1.MP3
> 2523 ?  2527 ?  2505 04,TRA~1.MP3  2512 12!- Track 12.mŰ3  2515
> 1%-TRA~1.MP3
> 2523 ?  2526 ?  2506 05  Track 5.mp3   2513 13-TRA~1.MP3   2511 !1
> - Track 11.mp3ࠀ
> 2523 ?  2526 ?  2507 06 - Track 6.mq3  2514 14 - Track 14.mp3  2519
> 20-T╥A~1.MP3

Hmm, looks like the directory contains a pile of files that should match
one of these patterns

  [0-9][0-9]-TRA~1.MP#
  [0-9][0-9] - Track [0-9][0-9].mp3

The first pattern is indicative of FAT12/FAT16, the second of VFAT.
Seriously suspect that the directory entry got whacked in the head and
is corrupted.

You may find

 https://www.win.tue.nl/~aeb/linux/fs/fat/fat-1.html

useful if you go the route of hexediting that directory entry.

Hope this helps,
--
Olaf Meeuwissen, LPIC-2FSF Associate Member since 2004-01-27
 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
 Support Free Softwarehttps://my.fsf.org/donate
 Join the Free Software Foundation  https://my.fsf.org/join
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] slashes in FAT file names

2018-12-22 Thread Olaf Meeuwissen
Hi Steve,

Steve Litt writes:

> On Sat, 22 Dec 2018 02:38:42 -0800
> Rick Moen  wrote:
>
>> Quoting Olaf Meeuwissen (paddy-h...@member.fsf.org):
>>
>> > On any Unix-like system I've come across the '/' (and '\0') are
>> > about the only character that cannot be used in a filename.
>>
>> That and null are the only disallowed characters.  It's in the Single
>> Unix Specification.
>> http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_170
>
> Regardless of any spec, I wouldn't be caught using anything in a
> filename except letters, numbers, dots and underscores.

Everywhere around me あいうえお and 一二三 are perfectly fine letters
and numbers ;-P

And there are at least three encodings to store them disk (in file names
or otherwise).  Fortunately, EUC-JP has pretty much gone the way of the
dinosaur but Shift_JIS (MS-932, really) is still a sad fact of everyday
life.

> Once in a while I'll let somebody else's dash go through. Some day I
> should write a filename cleaner to get rid of all that junk windows
> people just love putting in their filenames.

Hope this enlightens,
--
Olaf Meeuwissen, LPIC-2FSF Associate Member since 2004-01-27
 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
 Support Free Softwarehttps://my.fsf.org/donate
 Join the Free Software Foundation  https://my.fsf.org/join
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Bond ATI driver for old video cards.

2018-12-22 Thread Андрей via Dng
Приветствую.


В Wed, 19 Dec 2018 11:53:05 +0100, ты писал(а):

> Please use https://pkginfo.devuan.org:
> 
>   
> https://pkginfo.devuan.org/stage/ascii/ascii/nvidia-installer-cleanup_20151021+4.html
> 
> You need to add "contrib" and "non-free" to your sources.list.

Thank you very much!

And which packages to install for the old ATI video cards, meaning bond
(oposed to free) driver, like xserver-xorg-video-nvidia-legacy package?


Андрей.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] No dependency packages in ASCII repo for nvidia's xorg-video-driver.

2018-12-22 Thread Андрей via Dng
Приветствую.


В Wed, 19 Dec 2018 10:30:32 -0600, ты писал(а):

> Would someone add that info to the 'Package repositories' section of 
> https://devuan.org/os/ ?
> 
> Actually, please add ALL the various sources options there.  And a
> full example of everything would sure help those of us that have
> never used Debian before, as we don't know to add what to us is
> random, unpublished information.

You're absolutely right! -- I had used Debian for years still didn't
pay much attention to the contrib repo, thought knew that in order to
use 3D for free driver, i had to use bond (oposite to free) repo.

Truth should be accumulated and held safe publicaly available.


Андрей.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Bond ATI driver for old video cards.

2018-12-22 Thread Rick Moen
Quoting  via Dng (dng@lists.dyne.org):

> Приветствую.

The package is named 'greetings'?  ;->

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Bond ATI driver for old video cards.

2018-12-22 Thread Arnt Karlsen
On Sun, 23 Dec 2018 13:17:54 +0700, Андрей wrote in message 
<20181223091749.hn1wv...@smtp3o.mail.yandex.net>:

> Приветствую.
> 
> 
> В Wed, 19 Dec 2018 11:53:05 +0100, ты писал(а):
> 
> > Please use https://pkginfo.devuan.org:
> > 
> >   
> > https://pkginfo.devuan.org/stage/ascii/ascii/nvidia-installer-cleanup_20151021+4.html
> > 
> > You need to add "contrib" and "non-free" to your sources.list.  
> 
> Thank you very much!
> 
> And which packages to install for the old ATI video cards,

..for these, you want the best (and free) drivers, e.g. "radeon" 
or "ati", which will do a good job of setting up good video for 
you, or tell you in  /var/log/Xorg.0.log and 'less dmesg' what 
you might need instead. 

..really old crap might ask for the "mach64" driver, which is 
_really_ an hint to go dumpster diving for better video cards.  

> meaning bond (oposed to free) driver, like
> xserver-xorg-video-nvidia-legacy package?



-- 
..med vennlig hilsen = with Kind Regards from Arnt Karlsen
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng