ommm
- Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
- Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!
test please delete
Collapse
This is a sticky topic.
X
X
Collapse
-
-
Well, as always, OS X upgrade went very smoothly, as far as the stuff you can see with the user interface is concerned. Apple are very good at that
On the other hand, I've just spent about four hours getting my local web and database servers back up and running, recompiling loads of Unix libraries, etc, etc
Though it isn't Apple's fault that the Homebrew package manager resolutely refuses to accept that you have anything other than the latest and greatest version of a library, meaning you have to manually uninstall and reinstall each of them individually, thereby causing them to be recompiled and generally built correctly. No, that's thanks to the wonders of the Open Sores community, which seems not to have bothered with the minor detail of making the package manager itself aware of the need to make use of the appropriate new configurations when asked to upgrade things
Suppose I ought to cook dinner now it's all back to where it was this time yesterdayComment
-
Originally posted by NickFitz View PostWell, as always, OS X upgrade went very smoothly, as far as the stuff you can see with the user interface is concerned. Apple are very good at that
On the other hand, I've just spent about four hours getting my local web and database servers back up and running, recompiling loads of Unix libraries, etc, etc
Though it isn't Apple's fault that the Homebrew package manager resolutely refuses to accept that you have anything other than the latest and greatest version of a library, meaning you have to manually uninstall and reinstall each of them individually, thereby causing them to be recompiled and generally built correctly. No, that's thanks to the wonders of the Open Sores community, which seems not to have bothered with the minor detail of making the package manager itself aware of the need to make use of the appropriate new configurations when asked to upgrade things
Suppose I ought to cook dinner now it's all back to where it was this time yesterdayJoin IPSEComment
-
Originally posted by Alias View PostSurely that can all be scripted to run everytime an upgrade happens?
The problem is that it looks at, say, libfoo and thinks "7.3.1, that's fine" - but doesn't detect that it was compiled under the previous OS version. Then, when you upgrade some package that has a dependency on libfoo, it casually says "Ah, that was compiled on another platform, so it probably won't work" - but it won't upgrade it by downloading the package for the current platform and compiling it, because it will only do that if a newer version is available, and although it knows to get the Mavericks version, that's also 7.3.1.
So you have to tell it to uninstall and install. However, as these libs were originally installed as dependencies of something you explicitly installed, it set the permissions such that you can't remove it; and it refuses to do anything under sudo either. So you have to manually change the permissions before you can uninstall and reinstall.
And as the whole point of a package manager is to keep things like dependency chains away from you, you don't know what needs doing.
I ended up running a particular SQL command and checking Postgres's error log, until it was loading its shared libraries successfully. After that I had to repeatedly make HTTP requests and check the Apache error log to see what the WSGI module was being told by Python was the problem. Then sudo to change permissions, uninstall, reinstall, and back for the next one.
The problem is that the package manager doesn't manage the case when it has the latest versions of all the files, but the platform version has changed underneath them.Comment
-
Originally posted by NickFitz View PostNow that I know about it, I can do something like that; but I hadn't encountered it with this package manager before, because the last time I did a major OS X upgrade while having large numbers of additional Unix libraries installed was on my old MacBook, before Homebrew was a thing.
The problem is that it looks at, say, libfoo and thinks "7.3.1, that's fine" - but doesn't detect that it was compiled under the previous OS version. Then, when you upgrade some package that has a dependency on libfoo, it casually says "Ah, that was compiled on another platform, so it probably won't work" - but it won't upgrade it by downloading the package for the current platform and compiling it, because it will only do that if a newer version is available, and although it knows to get the Mavericks version, that's also 7.3.1.
So you have to tell it to uninstall and install. However, as these libs were originally installed as dependencies of something you explicitly installed, it set the permissions such that you can't remove it; and it refuses to do anything under sudo either. So you have to manually change the permissions before you can uninstall and reinstall.
And as the whole point of a package manager is to keep things like dependency chains away from you, you don't know what needs doing.
I ended up running a particular SQL command and checking Postgres's error log, until it was loading its shared libraries successfully. After that I had to repeatedly make HTTP requests and check the Apache error log to see what the WSGI module was being told by Python was the problem. Then sudo to change permissions, uninstall, reinstall, and back for the next one.
The problem is that the package manager doesn't manage the case when it has the latest versions of all the files, but the platform version has changed underneath them.Join IPSEComment
-
Comment
-
-
Originally posted by zeitghost View Post
But I thought Macs "just worked".
It's weirdos like me, who insist on using them as Unix workstations, that get caught out
If I used Linux then it would all just work, except it would involve typing in weird incantations hundreds of characters long, and I'd have to do all my work in programs designed for the VT-100 terminal.
By using a Mac, I get to use nice GUI apps, even for things like editing Apache config files or setting up database servers; but when a major OS upgrade comes along, all that Unixy stuff that no normal person would touch with a barge pole still has to be done at the command line.
It's a small price to pay, really - the key thing about this upgrade is that they'd shifted to a new C and C++ compiler architecture, or something. They won't do that again for yearsComment
-
Anyway, my Mac is now back at its rightful work of ripping Breaking Bad DVDs, at which it excelsComment
-
Back from an 11 mile walk around Derwentwater.
During the rain my North Face coat eventually leaked water through a sleeve so I replaced in when we returned to Keswick.. (The North Face one cost£200£4.24 from Boo.com 15 years ago so hardly owes me anything)...
Then a bit of shopping but no decent Innis and Gunn in Booths so spent £20 on other beer instead including a bottle of yellow lorry. I doubt that's the easiest thing to order after a few pints..merely at clientco for the entertainmentComment
- Home
- News & Features
- First Timers
- IR35 / S660 / BN66
- Employee Benefit Trusts
- Agency Workers Regulations
- MSC Legislation
- Limited Companies
- Dividends
- Umbrella Company
- VAT / Flat Rate VAT
- Job News & Guides
- Money News & Guides
- Guide to Contracts
- Successful Contracting
- Contracting Overseas
- Contractor Calculators
- MVL
- Contractor Expenses
Advertisers
Contractor Services
CUK News
- Reports of umbrella companies’ death are greatly exaggerated Today 10:11
- A new hiring fraud hinges on a limited company, a passport and ‘Ade’ Yesterday 09:21
- Is an unpaid umbrella company required to pay contractors? Nov 26 09:28
- The truth of umbrella company regulation is being misconstrued Nov 25 09:23
- Labour’s plan to regulate umbrella companies: a closer look Nov 21 09:24
- When HMRC misses an FTT deadline but still wins another CJRS case Nov 20 09:20
- How 15% employer NICs will sting the umbrella company market Nov 19 09:16
- Contracting Awards 2024 hails 19 firms as best of the best Nov 18 09:13
- How to answer at interview, ‘What’s your greatest weakness?’ Nov 14 09:59
- Business Asset Disposal Relief changes in April 2025: Q&A Nov 13 09:37
Comment