apt-ostree/quick-fix.sh
robojerk 97a9c40d7e docs: Add comprehensive documentation and update planning
- Add docs/README.md with project overview and current status
- Add docs/architecture.md with detailed architecture documentation
- Add docs/development.md with development guide for contributors
- Update .notes/todo.md to reflect architecture fix completion
- Update .notes/plan.md with completed phases and next priorities

Architecture fixes (daemon and dbus), bubblewrap integration are now complete.
Ready for OCI integration phase.
2025-07-18 23:38:57 +00:00

31 lines
No EOL
806 B
Bash
Executable file

#!/bin/bash
# Quick Fix for apt-ostree D-Bus Issues
echo "=== Quick Fix for apt-ostree ==="
echo
echo "1. Rebuilding client with latest fixes..."
cargo build --release
echo "2. Installing updated client binary..."
sudo cp target/release/apt-ostree /usr/bin/
sudo chmod +x /usr/bin/apt-ostree
echo "3. Checking daemon logs..."
echo "Daemon status:"
sudo systemctl status apt-ostreed.service --no-pager || echo "Status check failed"
echo
echo "Daemon logs:"
sudo journalctl -u apt-ostreed.service --no-pager -n 10 || echo "Log check failed"
echo
echo "4. Testing client-daemon communication..."
echo "Testing client ping:"
apt-ostree daemon-ping || echo "Client ping failed"
echo "Testing client status:"
apt-ostree daemon-status || echo "Client status failed"
echo
echo "=== Quick Fix Complete ==="