[gentoo-user] Re: How to diagnose version conflicts?

2022-01-12 Thread Grant Edwards
On 2022-01-12, Neil Bothwick  wrote:
> On Wed, 12 Jan 2022 16:25:29 - (UTC), Grant Edwards wrote:
>
>> > If it was installed through portage, there would have been an ebuild
>> > for it, in /var/db/pkg.  
>> 
>> Yes, correct past tense. There was at some point in the past when
>> ipkg-utils was installed.
>> 
>> > That's what portage was referencing when if made the dependency
>> > calculations.  
>> 
>> There was no ipkg ebuild. [...]
>
> The ebuild would still have been on /var/db/pkg as long as it was
> installed.

Doh!  Of course you're right.

I was getting /var/db/repos and /var/db/pkg mixed up. I had been
searching /var/db/repos not /var/db/pkg

--
Grant







Re: [gentoo-user] Connecting a network printer

2022-01-12 Thread Dale
Peter Humphrey wrote:
> Hello list,
>
> I have a Lexmark C2425 colour laser, which used to be detected automatically 
> but now isn't. I can connect it over USB, but I'd like to use IPP or HTTP.
>
> This is a stable amd64 box, and CUPS is installed thus:
> net-print/cups-2.3.3_p2-r3::gentoo  USE="X acl dbus pam ssl threads usb 
> zeroconf -debug -kerberos (-selinux) -static-libs -systemd -xinetd" 
> ABI_X86="(64) -32 (-x32)"
>
> Two questions:
>
> 1.  What else do I need to do for the printer to be detectable?
> 2.  The guides I've found say I can set it up manually with ipp://hostname/
> printers/printername. What is 'printername'? Is it just arbitrary?
>
> Clues, anyone?
>
> TiA.
>


I have a very similar printer and this is my settings from CUPS:


Description:    Lexmark C2325dw
Location:    Local Printer
Driver:    C2325dw - IPP Everywhere (color, 2-sided printing)
Connection:    ipp://192.168.0.102


If I recall correctly, the printer uses DHCP so I let it pick its first
IP itself and then I think I set it to use that from then on.  I have a
cell phone that connects to and don't want them switching IPs on me.  It
uses IPP to communicate.  If you want to access the printer directly, to
see toner cartridge levels, adjust printer settings etc, just point a
browser to the IP address. 

If you are connecting to a router, I'd access the router and see if the
router is seeing the printer first thing.  If you require passwords, you
may need to enter the password on the printer panel, I did.  Once you
can access the printer in a web browser, you can adjust things easier.

Does that help any?

Dale

:-)  :-) 



Re: [gentoo-user] Connecting a network printer

2022-01-12 Thread thelma

On 1/12/22 09:45, Peter Humphrey wrote:

Hello list,

I have a Lexmark C2425 colour laser, which used to be detected automatically
but now isn't. I can connect it over USB, but I'd like to use IPP or HTTP.

This is a stable amd64 box, and CUPS is installed thus:
net-print/cups-2.3.3_p2-r3::gentoo  USE="X acl dbus pam ssl threads usb
zeroconf -debug -kerberos (-selinux) -static-libs -systemd -xinetd"
ABI_X86="(64) -32 (-x32)"

Two questions:

1.  What else do I need to do for the printer to be detectable?
2.  The guides I've found say I can set it up manually with ipp://hostname/
printers/printername. What is 'printername'? Is it just arbitrary?

Clues, anyone?

TiA.


Double check the IP address of your printer.
Run:
nmap -sP your_local_network

You should see your printer listed.



Re: [gentoo-user] Connecting a network printer

2022-01-12 Thread Wols Lists

On 12/01/2022 20:39, Todd Goodman wrote:

On 1/12/2022 11:45 AM, Peter Humphrey wrote:

Hello list,

I have a Lexmark C2425 colour laser, which used to be detected 
automatically
but now isn't. I can connect it over USB, but I'd like to use IPP or 
HTTP.


This is a stable amd64 box, and CUPS is installed thus:
net-print/cups-2.3.3_p2-r3::gentoo  USE="X acl dbus pam ssl threads usb
zeroconf -debug -kerberos (-selinux) -static-libs -systemd -xinetd"
ABI_X86="(64) -32 (-x32)"

Two questions:

1.  What else do I need to do for the printer to be detectable?
2.  The guides I've found say I can set it up manually with 
ipp://hostname/

printers/printername. What is 'printername'? Is it just arbitrary?

Clues, anyone?

TiA.


Hi Peter and list,

I have a Lexmark color laser on my network that I print to from Windows 
and a Gentoo ~amd64 desktop.


I believe I just used the printer's IP address in CUPS in place of the 
hostname (e.g., ipp://192.168.1.1).


I use a static IP configured through the printer panel and can find it 
in the settings if I forget


Or use a dynamic static IP. On my (and most) routers, you can lock an IP 
and MAC address together, so it's all done dynamically, but it's always 
the same IP because it's locked not leased.


Cheers,
Wol



Re: [gentoo-user] Connecting a network printer

2022-01-12 Thread Todd Goodman

On 1/12/2022 11:45 AM, Peter Humphrey wrote:

Hello list,

I have a Lexmark C2425 colour laser, which used to be detected automatically
but now isn't. I can connect it over USB, but I'd like to use IPP or HTTP.

This is a stable amd64 box, and CUPS is installed thus:
net-print/cups-2.3.3_p2-r3::gentoo  USE="X acl dbus pam ssl threads usb
zeroconf -debug -kerberos (-selinux) -static-libs -systemd -xinetd"
ABI_X86="(64) -32 (-x32)"

Two questions:

1.  What else do I need to do for the printer to be detectable?
2.  The guides I've found say I can set it up manually with ipp://hostname/
printers/printername. What is 'printername'? Is it just arbitrary?

Clues, anyone?

TiA.


Hi Peter and list,

I have a Lexmark color laser on my network that I print to from Windows 
and a Gentoo ~amd64 desktop.


I believe I just used the printer's IP address in CUPS in place of the 
hostname (e.g., ipp://192.168.1.1).


I use a static IP configured through the printer panel and can find it 
in the settings if I forget


Todd





Re: [gentoo-user] Connecting a network printer

2022-01-12 Thread Jack

On 2022.01.12 11:45, Peter Humphrey wrote:

Hello list,

I have a Lexmark C2425 colour laser, which used to be detected  
automatically
but now isn't. I can connect it over USB, but I'd like to use IPP or  
HTTP.


This is a stable amd64 box, and CUPS is installed thus:
net-print/cups-2.3.3_p2-r3::gentoo  USE="X acl dbus pam ssl threads  
usb

zeroconf -debug -kerberos (-selinux) -static-libs -systemd -xinetd"
ABI_X86="(64) -32 (-x32)"

Two questions:

1.  What else do I need to do for the printer to be detectable?
2.  The guides I've found say I can set it up manually with  
ipp://hostname/

printers/printername. What is 'printername'? Is it just arbitrary?

Clues, anyone?
What do you mean by isn't detected?  Do you mean the Cups add printer  
page doesn't show it?  If so, are you sure it's actually on the  
network?  Is it wired or wifi?  Does your router show a page/list of  
connected devices?  If it's present, try pointing a web browser at it's  
IP address to review it's internal configuration (just on principle, I  
can't suggests anything specific to look for.)  If it's not connected  
to the network, might it have a fixed IP from an older configuration?   
I don't know if you can configure it's network settings over the USB  
connection - if not, it might take a factory reset for it to use DHCP.   
It might also have a network config report you can print by some  
combination of buttons on the control panel.


Jack



[gentoo-user] "EZ mode" vs "AP mode"

2022-01-12 Thread thelma

What kind of routers work with "EZ mode"

Recently I was plying with a wifi light switch and couldn't get "EZ mode" to 
work with my Asus router.

AP mode, worked but for this to work phone's Bluetooth and Personal Hotspot 
need to be turn ON (during configuration); and the switch manual did not 
mentioned it.




Re: [gentoo-user] Re: How to diagnose version conflicts?

2022-01-12 Thread Neil Bothwick
On Wed, 12 Jan 2022 16:25:29 - (UTC), Grant Edwards wrote:

> > If it was installed through portage, there would have been an ebuild
> > for it, in /var/db/pkg.  
> 
> Yes, correct past tense. There was at some point in the past when
> ipkg-utils was installed.
> 
> > That's what portage was referencing when if made the dependency
> > calculations.  
> 
> There was no ipkg ebuild. There had been in the past, but it was
> removed during an emerge --sync a while back. Last rites on 1 Aug
> 2020, removal 30 days later:
> https://www.mail-archive.com/gentoo-dev@lists.gentoo.org/msg90135.html

The ebuild would still have been on /var/db/pkg as long as it was
installed.

> My conclusion was that dependency info for currently installed
> packages is also stored somewhere else, since emerge still knew that
> python-2.7 was required for ipkg-utils.

Yes, in /var/db/pkg. That contains all the ebuild and data for installed
packages, independently of what is currently in the portage tree.


-- 
Neil Bothwick

I'm Pink, Therefore I'm Spam


pgp59EK8L40Wl.pgp
Description: OpenPGP digital signature


[gentoo-user] Connecting a network printer

2022-01-12 Thread Peter Humphrey
Hello list,

I have a Lexmark C2425 colour laser, which used to be detected automatically 
but now isn't. I can connect it over USB, but I'd like to use IPP or HTTP.

This is a stable amd64 box, and CUPS is installed thus:
net-print/cups-2.3.3_p2-r3::gentoo  USE="X acl dbus pam ssl threads usb 
zeroconf -debug -kerberos (-selinux) -static-libs -systemd -xinetd" 
ABI_X86="(64) -32 (-x32)"

Two questions:

1.  What else do I need to do for the printer to be detectable?
2.  The guides I've found say I can set it up manually with ipp://hostname/
printers/printername. What is 'printername'? Is it just arbitrary?

Clues, anyone?

TiA.

-- 
Regards,
Peter.






[gentoo-user] Re: How to diagnose version conflicts?

2022-01-12 Thread Grant Edwards
On 2022-01-12, Neil Bothwick  wrote:
> On Wed, 12 Jan 2022 14:53:06 - (UTC), Grant Edwards wrote:
>
>> Then it must have been ipkg-utils itself that required the older
>> python_exec, but there was no ebuild present for it.
>
> If it was installed through portage, there would have been an ebuild
> for it, in /var/db/pkg.

Yes, correct past tense. There was at some point in the past when
ipkg-utils was installed.

> That's what portage was referencing when if made the dependency
> calculations.

There was no ipkg ebuild. There had been in the past, but it was
removed during an emerge --sync a while back. Last rites on 1 Aug
2020, removal 30 days later: 
https://www.mail-archive.com/gentoo-dev@lists.gentoo.org/msg90135.html

My conclusion was that dependency info for currently installed
packages is also stored somewhere else, since emerge still knew that
python-2.7 was required for ipkg-utils.

--
Grant







Re: [gentoo-user] Re: How to diagnose version conflicts?

2022-01-12 Thread Neil Bothwick
On Wed, 12 Jan 2022 14:53:06 - (UTC), Grant Edwards wrote:

> Then it must have been ipkg-utils itself that required the older
> python_exec, but there was no ebuild present for it.

If it was installed through portage, there would have been an ebuild for
it, in /var/db/pkg. That's what portage was referencing when if made the
dependency calculations.


-- 
Neil Bothwick

"Daddy, what does formatting drive 'C' mean?


pgpzUWfphyrj_.pgp
Description: OpenPGP digital signature


[gentoo-user] Re: How to diagnose version conflicts?

2022-01-12 Thread Grant Edwards
On 2022-01-12, Arve Barsnes  wrote:
> On Wed, 12 Jan 2022 at 01:44, Grant Edwards  wrote:
>> Still not sure what command one uses to determine what package is
>> preventing some other package from being upgraded...
>
> It should all be in the emerge output, although it's quite hard to read.
>
> If you want help interpreting it you could post the complete conflict
> output, but what you've posted in your initial message is just the bit
> that says that python-exec-2.4.8 requires python-exec-conf-2.4.6.
> That's not a conflict, that's just one of the packages having one
> dependency. To have a conflict, a different package would need to
> require a different version.

Right. And how to determine which package requires the older version
is the question. Since I can't reinstall ipkg-utils, I don't have any
way to recreate the conflict.

> Most of the times this particular kind of conflict is with an older
> package that requires older PYTHON_TARGETS than can be provided, and I
> expect something that got depcleaned with ipkg-utils, or ipkg-utils
> directly, required python-exec or python-exec-conf with
> PYTHON_TARGETS="python3_7". Note that dev-lang/python itself is not
> the source of any of these problems, I still have python 2.7 and 3.10
> installed (along with 3.9 which is the default version on this machine
> now).

Then it must have been ipkg-utils itself that required the older
python_exec, but there was no ebuild present for it. I know that
ipkg-utils was not mentioned at all in the emerge output.

After unmerging ipkg-utils and python2.7 the conflict was gone.

Next time I'll keep a copy of the entire emerge output.

--
Grant





Re: [gentoo-user] Seamonkey and Firefox clash over rust version.

2022-01-12 Thread Wols Lists

On 12/01/2022 10:14, Dale wrote:

I tried to set up dovecut once but failed.  I guess I better get back on
that since I use Seamonkey to do my email with.  I don't like
Thunderbird and sadly may not like much of the other email methods either.


I've mentioned it before, but DON'T modify the dovecot.conf file. Look 
down the bottom it references a local config file. Create that and shove 
all your config in there, then it will survive a dovecot update :-)


Cheers,
Wol

The below is the contents of my local.conf, which gives me local users 
in passwd, and virtual users in /etc/dovecot/passwd ...


# authentication configuration
auth_verbose = yes
auth_mechanisms = plain
passdb {
  driver = passwd-file
  args = /etc/dovecot/passwd
}
userdb {
  driver = static
  args = uid=vmail gid=vmail home=/home/vmail/%u
}



Re: [gentoo-user] Seamonkey and Firefox clash over rust version.

2022-01-12 Thread Arve Barsnes
On Wed, 12 Jan 2022 at 11:15, Dale  wrote:
> Well, first a patch failed to . . . patch.  I commented it out and
> rebuilt the manifest and gave that a try.  Then it failed with this:

You might need to copy some files from the files/ directory in the
overlay as well. I'm guessing, but the patch probably failed because
it didn't exist?

Regards,
Arve



Re: [gentoo-user] Seamonkey and Firefox clash over rust version.

2022-01-12 Thread Dale
Dale wrote:
> Arve Barsnes wrote:
>> On Wed, 12 Jan 2022 at 02:14, Dale  wrote:
>>> rsync: getaddrinfo: rsync.gentoofan.org 873: Temporary failure in name
>>> resolution
>> I noticed somewhere on the page it said that the layman method of
>> adding the overlay was deprecated, maybe he has removed rsync
>> capability for it.
>>
>> Regards,
>> Arve
>>
>>
>
> Well, that would make sense.  Guess I'll steal the ebuild you linked to
> and put it in my overlay.  I was hoping for a overlay that would update
> itself but maybe not. 
>
> Thanks.
>
> Dale
>
> :-)  :-)
>


Well, first a patch failed to . . . patch.  I commented it out and
rebuilt the manifest and gave that a try.  Then it failed with this:



>>> Source compiled.
 * Skipping make test/check due to ebuild restriction.
>>> Test phase [disabled because of RESTRICT=test]:
www-client/seamonkey-2.53.10.2-r2

>>> Install www-client/seamonkey-2.53.10.2-r2 into
/var/tmp/notmpfs/portage/www-client/seamonkey-2.53.10.2-r2/image
sed: can't read
/var/tmp/notmpfs/portage/www-client/seamonkey-2.53.10.2-r2/files/all-gentoo-1.js:
No such file or directory
 * ERROR: www-client/seamonkey-2.53.10.2-r2::mine failed (install phase):
 *   (no error message)



It seems it compiled fine but failed during the install part.  So, the
tree version has issues, the overlay also has issues.  Then to top that
off, the bug report I subscribed to said they may lastrite Seamonkey. 
Great.  :-(

I tried to set up dovecut once but failed.  I guess I better get back on
that since I use Seamonkey to do my email with.  I don't like
Thunderbird and sadly may not like much of the other email methods either. 

What a bummer.

Dale

:-)  :-)